-
Notifications
You must be signed in to change notification settings - Fork 0
/
osx-apps-bootstrap.sh
82 lines (67 loc) · 1.33 KB
/
osx-apps-bootstrap.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# Check for Homebrew,
# Install if we don't have it
if test ! $(which brew); then
echo "Installing homebrew..."
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
fi
# brew
binaries=(
mackup
vim
node
tmux
ack
tidy-html5
reattach-to-user-namespace
)
echo "installing binaries..."
brew install ${binaries[@]}
brew cleanup
# Brew which has tap so I'm typing it separately
brew tap homebrew/cask-versions
brew tap homebrew/cask-fonts
# Brew cask Apps
apps=(
# System
1password
karabiner-elements
hammerspoon
google-chrome
bartender
appcleaner
resolutionator
iterm2
figma
zoom
meetingbar
raycast
notion
# development
macvim
firefox
imageoptim
visual-studio-code
# non work
transmission
vlc
airflow
)
# Install apps to /Applications
# Default is: /Users/$user/Applications
echo "installing apps..."
brew install --appdir="/Applications" --cask ${apps[@]}
# fonts
fonts=(
font-input
)
# install fonts
echo "installing fonts..."
brew install ${fonts[@]} --cask
# cleanup
brew cleanup && brew cleanup
# Oh my zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
# Change zsh to default shell:
chsh -s /bin/zsh
# Base 16 shell
git clone https://github.com/chriskempson/base16-shell.git ~/.config/base16-shell