diff --git a/homebrew/brew.config.fish b/homebrew/brew.config.fish index 0e6cf16..00fccaa 100644 --- a/homebrew/brew.config.fish +++ b/homebrew/brew.config.fish @@ -3,5 +3,9 @@ set -gx HOMEBREW_NO_ANALYTICS 1 if status --is-interactive - eval (/usr/local/Homebrew/bin/brew shellenv fish) + if [ "$(uname -m)" = arm64 ] + eval "$(/opt/homebrew/bin/brew shellenv fish)" + else if [ "$(uname -m)" = x86_64 ] + eval "$(/usr/local/bin/brew shellenv fish)" + end end