aboutsummaryrefslogtreecommitdiff
path: root/internal/p10k.zsh
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-11-13 17:33:17 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-11-13 17:33:17 +0300
commit1dee8902abb7632278c984d28d1b2a78dd4ea4a8 (patch)
tree5a4862d03b5ab304a71e3f614d9f68414d72d145 /internal/p10k.zsh
parent40c0fea5f7eb5959514478a995bcaf76bdf328a6 (diff)
don't empty PROMPT in preexec; it makes it harder to debug stuff
Diffstat (limited to 'internal/p10k.zsh')
-rw-r--r--internal/p10k.zsh4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh
index 1eea1a7b..aa9417c2 100644
--- a/internal/p10k.zsh
+++ b/internal/p10k.zsh
@@ -5306,7 +5306,7 @@ _p9k_must_init() {
[[ $sig == $_p9k__param_sig ]] && return 1
_p9k_deinit
fi
- _p9k__param_pat=$'v6\1'${ZSH_VERSION}$'\1'${ZSH_PATCHLEVEL}$'\1'
+ _p9k__param_pat=$'v7\1'${ZSH_VERSION}$'\1'${ZSH_PATCHLEVEL}$'\1'
_p9k__param_pat+=$'${#parameters[(I)POWERLEVEL9K_*]}\1${(%):-%n%#}\1$GITSTATUS_LOG_LEVEL\1'
_p9k__param_pat+=$'$GITSTATUS_ENABLE_LOGGING\1$GITSTATUS_DAEMON\1$GITSTATUS_NUM_THREADS\1'
_p9k__param_pat+=$'$DEFAULT_USER\1${ZLE_RPROMPT_INDENT:-1}\1$P9K_SSH\1$__p9k_ksh_arrays'
@@ -5580,7 +5580,7 @@ _p9k_init() {
if (( $+functions[iterm2_decorate_prompt] )); then
_p9k__iterm2_decorate_prompt=$functions[iterm2_decorate_prompt]
function iterm2_decorate_prompt() {
- typeset -g ITERM2_PRECMD_PS1=
+ typeset -g ITERM2_PRECMD_PS1=$PROMPT
typeset -g ITERM2_SHOULD_DECORATE_PROMPT=
}
fi