aboutsummaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-11-14 12:30:36 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-11-14 12:30:36 +0300
commit707d7d66711eec1037916d60f52cf3d349a53e08 (patch)
treedc59af017913f9957348b5d8be2bbe5964db8d06 /internal
parent2fa5480b0c12993f4e5424e7455db91574569def (diff)
bug fix: %k was printed instead of %f
Diffstat (limited to 'internal')
-rw-r--r--internal/p10k.zsh4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh
index 36c28cb6..a2f0fab0 100644
--- a/internal/p10k.zsh
+++ b/internal/p10k.zsh
@@ -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'