1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-09-24 12:30:08 +00:00

add more debug logging for #315

This commit is contained in:
romkatv 2019-11-08 09:43:52 +01:00
parent 49f63e224c
commit 6fff441e76

View file

@ -3980,7 +3980,7 @@ function _p9k_clear_instant_prompt() {
fi
cat $__p9k_instant_prompt_output
echo -nE - $sp
if [[ -n ${(S)content//$'\e'*$'\a'} && $POWERLEVEL9K_DEBUG_ISSUE_315 == true ]]; then
if [[ $POWERLEVEL9K_DEBUG_ISSUE_315 == true && -n ${(S)content//$'\e'*$'\a'} ]]; then
typeset content
ls -l $__p9k_instant_prompt_output
(( $+commands[hexdump] )) && hexdump -c $__p9k_instant_prompt_output