Skip to content

Commit 48a004b

Browse files
authored
follow self-update -q (#253)
1 parent 4453da5 commit 48a004b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/zsh/autoload.zsh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@ ZI[EXTENDED_GLOB]=""
630630
.zi-self-update() {
631631
builtin emulate -LR zsh ${=${options[xtrace]:#off}:+-o xtrace}
632632
builtin setopt extendedglob typesetsilent warncreateglobal
633-
[[ $1 = -q ]] && +zi-message "{profile}Updating »»»»{rst} ❮ {happy}Zi{rst} ❯ {…}{rst}"
633+
[[ $1 != -q ]] && +zi-message "{profile}Updating »»»»{rst} ❮ {happy}Zi{rst} ❯ {…}{rst}"
634634
local nl=$'\n' escape=$'\x1b[' current_branch=$(builtin cd -q "$ZI[BIN_DIR]" && command git rev-parse --abbrev-ref HEAD 2>/dev/null)
635635
local -a lines
636636
( builtin cd -q "$ZI[BIN_DIR]" && command git checkout $current_branch &>/dev/null && command git fetch --quiet && \

0 commit comments

Comments
 (0)