80a651a6dfafc40630b47ad2f173d326844d6925

Author
Marc Cornellà <marc@mcornella.com>
Committer
Marc Cornellà <marc@mcornella.com>
Date

Message

chore(updater): small typo

Diff

 1diff --git a/tools/check_for_upgrade.sh b/tools/check_for_upgrade.sh
 2index a5d2112f650c6ec99437a1932b4dc294cb62dba9..1ecab5c0bf023e75fcd3627fcd50de17590e59d7 100644
 3--- a/tools/check_for_upgrade.sh
 4+++ b/tools/check_for_upgrade.sh
 5@@ -28,7 +28,7 @@ zstyle -s ':omz:update' mode update_mode || {
 6 if [[ "$update_mode" = disabled ]] \
 7    || [[ ! -w "$ZSH" || ! -O "$ZSH" ]] \
 8    || [[ ! -t 1 ]] \
 9-   || ! command git --version 2>&1 >/dev/null
10+   || ! command git --version 2>&1 >/dev/null \
11    || (builtin cd -q "$ZSH"; ! command git rev-parse --is-inside-work-tree &>/dev/null); then
12   unset update_mode
13   return