From 6bc03dc4a7d0475e6d25c1c10bbd78bb930baf4e Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Fri, 3 Nov 2023 20:06:13 +0800 Subject: Update arm mac config --- .macos | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.macos') 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)" -- cgit v1.2.3