mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 04:46:41 +00:00
fix(shell): don't use cached-eval for setup scripts that dynamically update PATH
This commit is contained in:
2
zshenv
2
zshenv
@@ -190,7 +190,7 @@ fi
|
|||||||
|
|
||||||
# Homebrew on Apple Silicon
|
# Homebrew on Apple Silicon
|
||||||
if [ -f "/opt/homebrew/bin/brew" ]; then
|
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
|
fi
|
||||||
|
|
||||||
if command-exists brew; then
|
if command-exists brew; then
|
||||||
|
|||||||
Reference in New Issue
Block a user