diff options
author | Roman Perepelitsa <roman.perepelitsa@gmail.com> | 2020-10-09 11:52:43 +0300 |
---|---|---|
committer | Roman Perepelitsa <roman.perepelitsa@gmail.com> | 2020-10-09 11:52:43 +0300 |
commit | b770e6a3e58f5c2238363fe63839fc808c160456 (patch) | |
tree | cd5c314aff865a93121c208f4b0a8f16b1950564 /internal/p10k.zsh | |
parent | 9b981b89c53826a9b5514978b951cda11cfa8d4b (diff) |
fix a typo that was preventing zinit-specific diagnostic from being printed as part of an error message
Diffstat (limited to 'internal/p10k.zsh')
-rw-r--r-- | internal/p10k.zsh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh index aba8429e..1626c59f 100644 --- a/internal/p10k.zsh +++ b/internal/p10k.zsh @@ -8333,10 +8333,10 @@ _p9k_init() { if (( $+zsh_defer_options )); then >&2 echo -E - "" >&2 echo -E - "${(%):- NOTE: Do not use %1Fzsh-defer%f to load %Upowerlevel10k.zsh-theme%u.}" - elif (( $+functins[zinit] )); then + elif (( $+functions[zinit] )); then >&2 echo -E - "" >&2 echo -E - "${(%):- NOTE: If using %2Fzinit%f to load %3F'romkatv/powerlevel10k'%f, %Bdo not apply%b %1Fice wait%f.}" - elif (( $+functins[zplugin] )); then + elif (( $+functions[zplugin] )); then >&2 echo -E - "" >&2 echo -E - "${(%):- NOTE: If using %2Fzplugin%f to load %3F'romkatv/powerlevel10k'%f, %Bdo not apply%b %1Fice wait%f.}" fi |