Skip to content

Commit

Permalink
chore(updater): small typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mcornella committed Apr 18, 2024
1 parent 56cfcb4 commit 80a651a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/check_for_upgrade.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ zstyle -s ':omz:update' mode update_mode || {
if [[ "$update_mode" = disabled ]] \
|| [[ ! -w "$ZSH" || ! -O "$ZSH" ]] \
|| [[ ! -t 1 ]] \
|| ! command git --version 2>&1 >/dev/null
|| ! command git --version 2>&1 >/dev/null \
|| (builtin cd -q "$ZSH"; ! command git rev-parse --is-inside-work-tree &>/dev/null); then
unset update_mode
return
Expand Down

0 comments on commit 80a651a

Please sign in to comment.