blob: 9995687a8c8f0187997126840f80a4a197ec6faf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/usr/bin/env bash
macos_update_path () {
new_path=$1
[ -d $new_path ] && export PATH=$new_path:$PATH
}
macos_update_path /usr/local/opt/openjdk/bin
macos_update_path /usr/local/opt/ruby/bin
macos_update_path /usr/local/opt/llvm/bin
export BROWSER='open -a safari'
[ -d /Applications/Firefox.app ] && export BROWSER='open -a firefox'
alias bug='brew upgrade --greedy'
if [[ $(spctl --status) == 'assessments enabled' ]]; then
sudo spctl --master-disable
fi
|