diff options
author | romkatv <roman.perepelitsa@gmail.com> | 2019-11-08 11:43:52 +0300 |
---|---|---|
committer | romkatv <roman.perepelitsa@gmail.com> | 2019-11-08 11:43:52 +0300 |
commit | 6fff441e76bca47ebeafd7dbe1a68f05f53184e3 (patch) | |
tree | d3bd4d5bb63b7841c6bf208226c8e708560d9336 /internal/p10k.zsh | |
parent | 49f63e224cc1438c92c77491c032fd01ce82fd7c (diff) |
add more debug logging for #315
Diffstat (limited to 'internal/p10k.zsh')
-rw-r--r-- | internal/p10k.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh index 0527df46..91cf2040 100644 --- a/internal/p10k.zsh +++ b/internal/p10k.zsh @@ -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 |