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