This commit is contained in:
James 2026-09-04 00:25:38 +08:00 committed by GitHub
commit b45ca43d27
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3010,7 +3010,6 @@ print -- "\nAvailable ice-modifiers:\n\n${ice_order[*]}"
PUAssocArray[$!]=$PUFILE
.zinit-wait-for-update-jobs plugins
}
}
# Shouldn't happen
@ -3229,7 +3228,8 @@ print -- "\nAvailable ice-modifiers:\n\n${ice_order[*]}"
integer pager_pid=$!
{ sleep 20 && kill -9 $pager_pid 2>/dev/null 1>&2; } &!
{ wait $pager_pid; } > /dev/null 2>&1
integer kill_pager_pid=$!
{ wait $pager_pid; kill -9 $kill_pager_pid; } >/dev/null 2>&1
local -a log
{ log=( ${(@f)"$(<$local_dir/.zinit_lastupd)"} ); } 2>/dev/null
@ -3597,6 +3597,11 @@ print -- "\nAvailable ice-modifiers:\n\n${ice_order[*]}"
command rm -f ${(v)PUAssocArray}
counter=0
PUAssocArray=()
# Clear zombie jobs.
if (( main_counter == 0 )) {
wait
}
} elif (( counter == 1 && !OPTS[opt_-q,--quiet] )) {
+zi-log "{obj}Spawning the next{num}" \
"${OPTS[value]}{obj} concurrent update jobs" \