aboutsummaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-11-08 11:43:19 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-11-08 11:43:19 +0300
commit49f63e224cc1438c92c77491c032fd01ce82fd7c (patch)
treefaaca3784182f512e95ec7dd5c50377533a22cf2 /internal
parent517db99244af53bf74b17633e6223127aeffdff1 (diff)
add more debug logging for #315
Diffstat (limited to 'internal')
-rw-r--r--internal/p10k.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh
index 59867c11..0527df46 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 [[ $POWERLEVEL9K_DEBUG_ISSUE_315 == true ]]; then
+ if [[ -n ${(S)content//$'\e'*$'\a'} && $POWERLEVEL9K_DEBUG_ISSUE_315 == true ]]; then
typeset content
ls -l $__p9k_instant_prompt_output
(( $+commands[hexdump] )) && hexdump -c $__p9k_instant_prompt_output