1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-22 04:10:07 +00:00

fix a typo that was preventing zinit-specific diagnostic from being printed as part of an error message

This commit is contained in:
Roman Perepelitsa 2020-10-09 10:52:43 +02:00
parent 9b981b89c5
commit b770e6a3e5

View file

@ -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