aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2023-11-03 20:06:13 +0800
committerGuangxiong Lin <[email protected]>2023-11-03 20:06:13 +0800
commit6bc03dc4a7d0475e6d25c1c10bbd78bb930baf4e (patch)
tree3330aaf9f94b6faa2cd5f2f8f16d055c17f7eb51
parentc0d4db23afa38d40f8b682d554082a4d89d0b431 (diff)
downloaddotfiles-6bc03dc4a7d0475e6d25c1c10bbd78bb930baf4e.tar.gz
dotfiles-6bc03dc4a7d0475e6d25c1c10bbd78bb930baf4e.tar.bz2
dotfiles-6bc03dc4a7d0475e6d25c1c10bbd78bb930baf4e.zip
Update arm mac config
-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)"