mirror of
https://github.com/zdharma-continuum/zinit.git
synced 2026-09-10 07:36:38 -04:00
Improved readability of run-atpull log message
This commit is contained in:
parent
f8fb19458a
commit
00f6c50f43
|
|
@ -3264,10 +3264,11 @@ print -- "\nAvailable ice-modifiers:\n\n${ice_order[*]}"
|
|||
fi
|
||||
if [[ -n ${(v)ice[(I)(mv|cp|atpull|ps-on-update|cargo)]} || $+ice[sbin]$+ice[make]$+ice[extract]$+ice[configure] -ne 0 ]] {
|
||||
if (( !OPTS[opt_-q,--quiet] && ZINIT[annex-multi-flag:pull-active] == 1 )) {
|
||||
+zi-log -n "{pre}[update]{msg3} Continuing with the update because "
|
||||
(( ${+ice[run-atpull]} )) && \
|
||||
+zi-log "{ice}run-atpull{apo}''{msg3} ice given.{rst}" || \
|
||||
+zi-log "{opt}-u{msg3}/{opt}--urge{msg3} given.{rst}"
|
||||
if (( ${+ice[run-atpull]} )); then
|
||||
+zi-log "{pre}[update]{rst} No new commits found, but running post-update hooks as requested by the {ice}run-atpull{apo}{rst} ice."
|
||||
else
|
||||
+zi-log "{pre}[update]{rst} No new commits found, but running post-update hooks as requested by the {opt}-u{rst}/{opt}--urge{rst} option."
|
||||
fi
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue