mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-12-25 00:21:58 +00:00
don't empty PROMPT in preexec; it makes it harder to debug stuff
This commit is contained in:
parent
40c0fea5f7
commit
1dee8902ab
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue