From 6fff441e76bca47ebeafd7dbe1a68f05f53184e3 Mon Sep 17 00:00:00 2001 From: romkatv Date: Fri, 8 Nov 2019 09:43:52 +0100 Subject: [PATCH] add more debug logging for #315 --- internal/p10k.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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