From a5ecff7560b2e26f612032c632a12c75a3048bd0 Mon Sep 17 00:00:00 2001 From: Maksym Tymoshyk Date: Sun, 30 Aug 2026 20:16:06 +0300 Subject: [PATCH] fix(updater): silence git version check output (#14029) --- tools/check_for_upgrade.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/check_for_upgrade.sh b/tools/check_for_upgrade.sh index 44dbb7b31..f19ce4c10 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 && ${POWERLEVEL9K_INSTANT_PROMPT:-off} == off ]] \ - || ! command git --version 2>&1 >/dev/null \ + || ! command git --version >/dev/null 2>&1 \ || (builtin cd -q "$ZSH"; ! command git rev-parse --is-inside-work-tree &>/dev/null); then unset update_mode return