mirror of
https://github.com/zdharma-continuum/zinit.git
synced 2026-09-10 07:36:38 -04:00
*install: A more straightforward way of a function cleanup
This commit is contained in:
parent
99f58796f4
commit
af9db4d3c8
|
|
@ -413,8 +413,8 @@ builtin source "${ZINIT[BIN_DIR]}/zinit-side.zsh" || { print -P "${ZINIT[col-err
|
|||
--config transfer.fsckobjects=false \
|
||||
--config receive.fsckobjects=false \
|
||||
--config fetch.fsckobjects=false
|
||||
unfunction :zinit-git-clone
|
||||
}
|
||||
trap 'unfunction :zinit-git-clone' EXIT
|
||||
:zinit-git-clone |& { ${ZINIT[BIN_DIR]}/git-process-output.zsh || cat; }
|
||||
if (( pipestatus[1] == 141 )) {
|
||||
:zinit-git-clone
|
||||
|
|
|
|||
Loading…
Reference in a new issue