diff options
author | Guangxiong Lin <[email protected]> | 2023-11-03 20:06:13 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2023-11-03 20:06:13 +0800 |
commit | 6bc03dc4a7d0475e6d25c1c10bbd78bb930baf4e (patch) | |
tree | 3330aaf9f94b6faa2cd5f2f8f16d055c17f7eb51 | |
parent | c0d4db23afa38d40f8b682d554082a4d89d0b431 (diff) | |
download | dotfiles-6bc03dc4a7d0475e6d25c1c10bbd78bb930baf4e.tar.gz dotfiles-6bc03dc4a7d0475e6d25c1c10bbd78bb930baf4e.tar.bz2 dotfiles-6bc03dc4a7d0475e6d25c1c10bbd78bb930baf4e.zip |
Update arm mac config
-rw-r--r-- | .macos | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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)" |