@@ -711,14 +711,14 @@ ZINIT[EXTENDED_GLOB]=""
711
711
emulate -LR zsh
712
712
setopt extendedglob typesetsilent warncreateglobal
713
713
714
- [[ $1 = -q ]] && +zinit-message " {info2}Updating Zinit{…}{rst} "
714
+ [[ $1 = -q ]] && +zinit-message -n " {info2}[self-update]{info2}{msg2} Updating Zinit repository{msg2} " \
715
715
716
716
local nl=$' \n ' escape=$' \x1b ['
717
717
local current_branch=$( builtin pushd $ZINIT [BIN_DIR] > /dev/null && git branch --show-current && popd > /dev/null)
718
718
local -a lines
719
719
(
720
720
builtin cd -q " $ZINIT [BIN_DIR]" \
721
- && +zinit-message -n " {pre}[self-update]{msg2} fetching changes for {msg2}$current_branch$nl {cmd}" \
721
+ && +zinit-message -n " {pre}[self-update]{msg2} fetching latest changes from {msg2}$current_branch$nl {cmd}" \
722
722
&& command git fetch --quiet \
723
723
&& lines=( ${(f)" $( command git log --color --date=short --pretty=format:' %Cgreen%cd %h %Creset%s %Cred%d%Creset || %b' ..FETCH_HEAD) " } )
724
724
if (( ${# lines} > 0 )) ; then
@@ -743,14 +743,14 @@ ZINIT[EXTENDED_GLOB]=""
743
743
}
744
744
)
745
745
if [[ $1 != -q ]] {
746
- +zinit-message " Compiling Zinit (zcompile){… }"
746
+ +zinit-message -n " {pre}[self-update]{msg2} compiling zinit (zinit){msg2 }"
747
747
}
748
748
command rm -f $ZINIT [BIN_DIR]/* .zwc(DN)
749
749
zcompile -U $ZINIT [BIN_DIR]/zinit.zsh
750
750
zcompile -U $ZINIT [BIN_DIR]/zinit-{' side' ,' install' ,' autoload' ,' additional' }.zsh
751
751
zcompile -U $ZINIT [BIN_DIR]/share/git-process-output.zsh
752
752
# Load for the current session
753
- [[ $1 != -q ]] && +zinit-message " Reloading Zinit for the current session{… }"
753
+ [[ $1 != -q ]] && +zinit-message -n " {pre}[self-update]{msg2} Reloading Zinit for the current session{msg2 }"
754
754
source $ZINIT [BIN_DIR]/zinit.zsh
755
755
zcompile -U $ZINIT [BIN_DIR]/zinit-{' side' ,' install' ,' autoload' }.zsh
756
756
# Read and remember the new modification timestamps
0 commit comments