From da85047297d367ffc1634d92398900c61bca0a53 Mon Sep 17 00:00:00 2001 From: Sam Thomas <10165959+samuelfullerthomas@users.noreply.github.com> Date: Fri, 27 Nov 2026 23:33:06 +0000 Subject: [PATCH] fix(updater): bypass aliases when calling zsh in update check (#14178) --- tools/check_for_upgrade.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/check_for_upgrade.sh b/tools/check_for_upgrade.sh index a2597bf07..3e48b6ca9 100644 --- a/tools/check_for_upgrade.sh +++ b/tools/check_for_upgrade.sh @@ -160,13 +160,13 @@ function update_ohmyzsh() { fi if [[ "$update_mode" != background-alpha ]] \ - && LANG= ZSH="$ZSH" zsh -f "$ZSH/tools/upgrade.sh" -i -v $verbose_mode -c $cooldown_days; then + && LANG= ZSH="$ZSH" command zsh -f "$ZSH/tools/upgrade.sh" -i -v $verbose_mode -c $cooldown_days; then update_last_updated_file return $? fi local exit_status error - if error=$(LANG= ZSH="$ZSH" zsh -f "$ZSH/tools/upgrade.sh" -i -v silent -c $cooldown_days 2>&1); then + if error=$(LANG= ZSH="$ZSH" command zsh -f "$ZSH/tools/upgrade.sh" -i -v silent -c $cooldown_days 2>&1); then update_last_updated_file 0 "Update successful" else exit_status=$?