aboutsummaryrefslogtreecommitdiff
path: root/.macos
diff options
context:
space:
mode:
Diffstat (limited to '.macos')
-rw-r--r--.macos4
1 files changed, 4 insertions, 0 deletions
diff --git a/.macos b/.macos
index 7e21987..f154236 100644
--- a/.macos
+++ b/.macos
@@ -17,3 +17,7 @@ if [[ $(spctl --status) == 'assessments enabled' ]]; then
echo 'Software installment is limited again. Password is required to remove the limit.'
sudo spctl --master-disable
fi
+
+[[ $(arch) = "arm64" ]] &&
+ eval "$(/opt/homebrew/bin/brew shellenv)" ||
+ eval "$(/usr/local/Homebrew/bin/brew shellenv)"