mirror of
https://github.com/zdharma-continuum/zinit.git
synced 2026-09-10 07:36:38 -04:00
Merge pull request #508 from zdharma-continuum/fix/update-subcommand
fix: broken update command
This commit is contained in:
commit
6d84f9991d
|
|
@ -1578,7 +1578,7 @@ ____
|
||||||
|
|
||||||
____
|
____
|
||||||
|
|
||||||
Has 564 line(s). Calls functions:
|
Has 566 line(s). Calls functions:
|
||||||
|
|
||||||
zinit
|
zinit
|
||||||
|-- +zinit-message
|
|-- +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:
|
Called by:
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2946,7 +2946,9 @@ You can try to prepend {apo}${___q}{lhi}@{apo}'{error} to the ID if the last ice
|
||||||
.zinit-list-bindkeys
|
.zinit-list-bindkeys
|
||||||
;;
|
;;
|
||||||
(update)
|
(update)
|
||||||
(( ${+ICE[if]} )) && { eval "${ICE[if]}" } || return 1
|
if (( ${+ICE[if]} )) {
|
||||||
|
eval "${ICE[if]}" || return 1;
|
||||||
|
}
|
||||||
for REPLY ( ${(s.;.)ICE[has]} ) {
|
for REPLY ( ${(s.;.)ICE[has]} ) {
|
||||||
(( ${+commands[$REPLY]} )) || return 1
|
(( ${+commands[$REPLY]} )) || return 1
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue