From 2242bd95802fa68c5f4b3628542173ff7a62a127 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Thu, 28 Nov 2024 19:37:15 +0000 Subject: [PATCH] fix(shell): don't use cached-eval for setup scripts that dynamically update PATH --- zshenv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zshenv b/zshenv index 182829f..2f4ce4e 100644 --- a/zshenv +++ b/zshenv @@ -190,7 +190,7 @@ fi # Homebrew on Apple Silicon if [ -f "/opt/homebrew/bin/brew" ]; then - cached-eval "/opt/homebrew/bin/brew" /opt/homebrew/bin/brew shellenv + eval "$(/opt/homebrew/bin/brew shellenv)" fi if command-exists brew; then