fix(shell): don't use cached-eval for setup scripts that dynamically update PATH

This commit is contained in:
Jim Myhrberg
2024-11-28 19:37:15 +00:00
parent fdc7fcafc6
commit 2242bd9580

2
zshenv
View File

@@ -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