diff --git a/zshenv b/zshenv index 3df8020..011b562 100644 --- a/zshenv +++ b/zshenv @@ -121,6 +121,11 @@ fi # Third-party Environment Setup # ============================================================================== +# Homebrew on Apple Silicon +if [ -f "/opt/homebrew/bin/brew" ]; then + eval "$(/opt/homebrew/bin/brew shellenv)" +fi + # Linuxbrew if [ -f "/home/linuxbrew/.linuxbrew/bin/brew" ]; then # Inline linux-brew setup to improve shell startup speed by around 200ms.