fix: broken update command

Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
This commit is contained in:
Vladislav Doster 2023-04-19 17:06:04 +00:00
parent db404aa8ef
commit 336ca85ade
No known key found for this signature in database
2 changed files with 5 additions and 3 deletions

View file

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

View file

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