*install: Ensure that Git progress-bar tool will correctly run

This commit is contained in:
Sebastian Gniazdowski 2020-05-30 19:14:21 +02:00
parent 51899ce985
commit ee12924b1d

View file

@ -414,7 +414,7 @@ builtin source "${ZINIT[BIN_DIR]}/zinit-side.zsh" || { print -P "${ZINIT[col-err
--config fetch.fsckobjects=false
unfunction :zinit-git-clone
}
:zinit-git-clone |& { ${ZINIT[BIN_DIR]}/git-process-output.zsh || cat; }
:zinit-git-clone |& { command ${ZINIT[BIN_DIR]}/git-process-output.zsh || cat; }
if (( pipestatus[1] == 141 )) {
:zinit-git-clone
integer retval=$?