mirror of
https://github.com/zdharma-continuum/zinit.git
synced 2026-09-10 07:36:38 -04:00
*install: Better messages #300
This commit is contained in:
parent
13661ee555
commit
fdcd13b903
|
|
@ -393,11 +393,11 @@ builtin source "${ZINIT[BIN_DIR]}/zinit-side.zsh" || { print -P "${ZINIT[col-err
|
|||
:zinit-git-clone
|
||||
integer retval=$?
|
||||
if (( retval )) {
|
||||
print -Pr -- "${ZINIT[col-error]}Clone failed (code: $retval).%f%b"
|
||||
print -Pr -- "$ZINIT[col-error]Clone failed (code: $ZINIT[col-obj]$retval$ZINIT[col-error]).%f%b"
|
||||
return 1
|
||||
}
|
||||
} elif (( pipestatus[1] )) {
|
||||
print -Pr -- "${ZINIT[col-error]}Clone failed (code: ${pipestatus[1]}).%f%b"
|
||||
print -Pr -- "$ZINIT[col-error]Clone failed (code: $ZINIT[col-obj]$pipestatus[1]$ZINIT[col-error]).%f%b"
|
||||
return 1
|
||||
}
|
||||
;;
|
||||
|
|
|
|||
Loading…
Reference in a new issue