From a73901c194228e2a68ea9a719987e8b541ef92dc Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Thu, 25 Feb 2021 11:07:37 +0000 Subject: [PATCH] Move M1 homebrew to M1 specific --- bash/.bash_profile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/bash/.bash_profile b/bash/.bash_profile index 63fdefd..d1b7a97 100644 --- a/bash/.bash_profile +++ b/bash/.bash_profile @@ -22,15 +22,15 @@ if [ $(uname) == "Darwin" ]; then # Shhh Catlina, we don't care! export BASH_SILENCE_DEPRECATION_WARNING=1 - # Homebrew - if [ -d /opt/homebrew ]; then - eval $(/opt/homebrew/bin/brew shellenv) - fi - # M1 specific hacks if [ $(uname -p) == "arm" ]; then # Stop golang progs having fun with Rosetta 2 (https://yaleman.org/post/2021/2021-01-01-apple-m1-terraform-and-golang/) export GODEBUG=asyncpreemptoff=1 + + # Homebrew + if [ -d /opt/homebrew ]; then + eval $(/opt/homebrew/bin/brew shellenv) + fi fi fi