|
|
|
@ -460,7 +460,7 @@ _p9k_foreground() {
|
|
|
|
|
# Note: This code used to produce `%1F` instead of `%F{1}` because it's more efficient.
|
|
|
|
|
# Unfortunately, this triggers a bug in zsh. Namely, `%1F{2}` gets percent-expanded as if
|
|
|
|
|
# it was `%F{2}`.
|
|
|
|
|
[[ -n $1 ]] && _p9k_ret="%F{$1}" || _p9k_ret="%k"
|
|
|
|
|
[[ -n $1 ]] && _p9k_ret="%F{$1}" || _p9k_ret="%f"
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
_p9k_escape_style() {
|
|
|
|
@ -5306,7 +5306,7 @@ _p9k_must_init() {
|
|
|
|
|
[[ $sig == $_p9k__param_sig ]] && return 1
|
|
|
|
|
_p9k_deinit
|
|
|
|
|
fi
|
|
|
|
|
_p9k__param_pat=$'v7\1'${ZSH_VERSION}$'\1'${ZSH_PATCHLEVEL}$'\1'
|
|
|
|
|
_p9k__param_pat=$'v8\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'
|
|
|
|
|