aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--internal/p10k.zsh2
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