mirror of
https://github.com/zdharma-continuum/zinit.git
synced 2026-09-10 07:36:38 -04:00
zinit: Fix has'' ice #352
This commit is contained in:
parent
611aa3f5e6
commit
4bf80a891b
|
|
@ -2181,7 +2181,7 @@ env-whitelist|bindkeys|module|add-fpath|fpath|run${reply:+|${(~j:|:)"${reply[@]#
|
|||
}
|
||||
for REPLY ( ${(s.;.)ZINIT_ICE[has]} ) {
|
||||
(( ${+commands[$REPLY]} )) || \
|
||||
{ (( $# )) && shift; continue; }
|
||||
{ (( $# )) && shift; continue 2; }
|
||||
}
|
||||
|
||||
ZINIT_ICE[wait]="${${(M)${+ZINIT_ICE[wait]}:#1}:+${(M)ZINIT_ICE[wait]#!}${${ZINIT_ICE[wait]#!}:-0}}"
|
||||
|
|
|
|||
Loading…
Reference in a new issue