blob: 7e810fab8d3aae6ecfb0013020e46e4a636f389f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/usr/bin/env bash
[ "$(uname)" = Darwin ] || return
export IS_MACOS=1
export BROWSER='open'
alias bug='brew upgrade --greedy'
[ "$(spctl --status)" = 'assessments enabled' ] &&
echo 'Software installment is limited again. Password is required to remove the limit.' &&
sudo spctl --master-disable
[ "$(arch)" = 'arm64' ] && eval "$(/opt/homebrew/bin/brew shellenv)"
[ "$(arch)" = 'arm64' ] || eval "$(/usr/local/Homebrew/bin/brew shellenv)"
[ -d '/usr/local/opt/ruby/bin' ] && export PATH="/usr/local/opt/ruby/bin:$PATH"
|