From 10bf02e1b4fbd12bebf2b86c2f5dc02f37a88794 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Mon, 20 Nov 2023 11:09:38 +0000 Subject: [PATCH] feat(homebrew): load/setup homebrew on Apple Silicon machines --- zshenv | 5 +++++ 1 file changed, 5 insertions(+) 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.