From b770e6a3e58f5c2238363fe63839fc808c160456 Mon Sep 17 00:00:00 2001 From: Roman Perepelitsa Date: Fri, 9 Oct 2020 10:52:43 +0200 Subject: [PATCH] fix a typo that was preventing zinit-specific diagnostic from being printed as part of an error message --- internal/p10k.zsh | 4 ++-- 1 file 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