Skip to content

Commit

Permalink
Move git-process-output.zsh to share/
Browse files Browse the repository at this point in the history
  • Loading branch information
pschmitt committed Nov 14, 2021
1 parent 7b0cbe0 commit c0f1451
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion doc/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ if [ ! -d "$ZINIT_TMPDIR" ]; then
fi

# Get the download-progress bar tool
GIT_PROCESS_SCRIPT_URL="https://raw.githubusercontent.com/zdharma-continuum/zinit/${ZINIT_BRANCH}/git-process-output.zsh"
GIT_PROCESS_SCRIPT_URL="https://raw.githubusercontent.com/zdharma-continuum/zinit/${ZINIT_BRANCH}/share/git-process-output.zsh"
trap 'rm -rvf "$ZINIT_TMPDIR"' EXIT INT
if command -v curl >/dev/null 2>&1; then
curl -fsSL -o "${ZINIT_TMPDIR}/git-process-output.zsh" "$GIT_PROCESS_SCRIPT_URL"
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion zinit-autoload.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -749,7 +749,7 @@ ZINIT[EXTENDED_GLOB]=""
zcompile -U $ZINIT[BIN_DIR]/zinit-install.zsh
zcompile -U $ZINIT[BIN_DIR]/zinit-autoload.zsh
zcompile -U $ZINIT[BIN_DIR]/zinit-additional.zsh
zcompile -U $ZINIT[BIN_DIR]/git-process-output.zsh
zcompile -U $ZINIT[BIN_DIR]/share/git-process-output.zsh
# Load for the current session
[[ $1 != -q ]] && +zinit-message "Reloading Zinit for the current session{…}"
source $ZINIT[BIN_DIR]/zinit.zsh
Expand Down
2 changes: 1 addition & 1 deletion zinit-install.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ builtin source "${ZINIT[BIN_DIR]}/zinit-side.zsh" || { builtin print -P "${ZINIT
unfunction :zinit-git-clone
return $retval
}
:zinit-git-clone |& { command ${ZINIT[BIN_DIR]}/git-process-output.zsh || cat; }
:zinit-git-clone |& { command ${ZINIT[BIN_DIR]}/share/git-process-output.zsh || cat; }
if (( pipestatus[1] == 141 )) {
:zinit-git-clone
integer retval=$?
Expand Down

0 comments on commit c0f1451

Please sign in to comment.