diff options
| author | Marc Cornellà <marc@mcornella.com> | 2024-04-18 07:48:33 +0200 |
|---|---|---|
| committer | Marc Cornellà <marc@mcornella.com> | 2024-04-18 07:48:33 +0200 |
| commit | 80a651a6dfafc40630b47ad2f173d326844d6925 (patch) | |
| tree | 8b34a6a74d45f8e888961537426060f63f7d5748 /tools | |
| parent | 56cfcb44e7ff730c10c5a00b58f38c33c984c52e (diff) | |
| download | zsh-80a651a6dfafc40630b47ad2f173d326844d6925.tar.gz zsh-80a651a6dfafc40630b47ad2f173d326844d6925.tar.bz2 zsh-80a651a6dfafc40630b47ad2f173d326844d6925.zip | |
chore(updater): small typo
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/check_for_upgrade.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/check_for_upgrade.sh b/tools/check_for_upgrade.sh index a5d2112f6..1ecab5c0b 100644 --- a/tools/check_for_upgrade.sh +++ b/tools/check_for_upgrade.sh @@ -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 |
