diff --git a/doc/zsdoc/zinit.zsh.adoc b/doc/zsdoc/zinit.zsh.adoc index e2b07287a..7d12c717b 100644 --- a/doc/zsdoc/zinit.zsh.adoc +++ b/doc/zsdoc/zinit.zsh.adoc @@ -1578,7 +1578,7 @@ ____ ____ -Has 564 line(s). Calls functions: +Has 566 line(s). Calls functions: zinit |-- +zinit-message @@ -1891,7 +1891,7 @@ ____ ____ -Has 120 line(s). Doesn't call other functions. +Has 134 line(s). Doesn't call other functions. Called by: diff --git a/zinit.zsh b/zinit.zsh index e0d39e4b0..307f57709 100644 --- a/zinit.zsh +++ b/zinit.zsh @@ -2946,7 +2946,9 @@ You can try to prepend {apo}${___q}{lhi}@{apo}'{error} to the ID if the last ice .zinit-list-bindkeys ;; (update) - (( ${+ICE[if]} )) && { eval "${ICE[if]}" } || return 1 + if (( ${+ICE[if]} )) { + eval "${ICE[if]}" || return 1; + } for REPLY ( ${(s.;.)ICE[has]} ) { (( ${+commands[$REPLY]} )) || return 1 }