summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-11-11 17:09:38 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-11-11 17:09:38 +0300
commite753f4152c950ab6ea368f3da526b7b49180c847 (patch)
tree8729489955a0387a5e244563d02d555ed3911a89
parent1ab91283dc18c151f994491dfaa8cb8af8f35f3b (diff)
remove debug logs that were added for #315
-rw-r--r--internal/p10k.zsh8
1 files changed, 0 insertions, 8 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh
index f865962f..40ac92d9 100644
--- a/internal/p10k.zsh
+++ b/internal/p10k.zsh
@@ -3954,9 +3954,6 @@ function _p9k_clear_instant_prompt() {
unset __p9k_fd_1 __p9k_fd_2
if [[ -s $__p9k_instant_prompt_output ]]; then
{
- if [[ $POWERLEVEL9K_DEBUG_ISSUE_315 == true ]]; then
- exec 2>&1
- fi
local content
[[ $_POWERLEVEL9K_INSTANT_PROMPT == verbose ]] && content="$(<$__p9k_instant_prompt_output)"
local mark="${PROMPT_EOL_MARK-%B%S%#%s%b}"
@@ -4009,11 +4006,6 @@ function _p9k_clear_instant_prompt() {
fi
cat $__p9k_instant_prompt_output
echo -nE - $sp
- 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
- fi
zf_rm -f -- $__p9k_instant_prompt_output
} 2>/dev/null
else