-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall
More file actions
executable file
·164 lines (142 loc) · 4.2 KB
/
install
File metadata and controls
executable file
·164 lines (142 loc) · 4.2 KB
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
#!/bin/sh
# shellcheck disable=SC1091
. "pretty_print"
cd "$HOME" || exit
pretty_print "Checking for Software Updates"
sudo softwareupdate -i -a
if [ -d "$(xcode-select -p)" ]; then
warning_print "Skipping Xcode Command Line Tools"
else
pretty_print "Installing Xcode Command Line Tools"
xcode-select --install
sudo xcodebuild -license accept
fi
pretty_print "Installing thoughtbot's 'Laptop'"
curl --remote-name https://raw.githubusercontent.com/thoughtbot/laptop/master/mac | sh
if [ "$(brew ls --versions mas-cli)" ]; then
warning_print "Skipping Mac App Store CLI (mas-cli)"
else
pretty_print "Installing Mac App Store CLI (mas-cli)"
brew install argon/mas/mas
fi
pretty_print "Installing Mac Store Apps"
# Mac Apps
mas install 497799835 # Xcode
mas install 409183694 # Keynote
mas install 09203825 # Numbers
mas install 409201541 # Pages
# Third-Party Apps
mas install 443987910 # 1Password
mas install 411643860 # DaisyDisk
mas install 1055511498 # Day One
mas install 1173932628 # Drop
mas install 406056744 # Evernote
mas install 866773894 # Quiver
mas install 425955336 # Skitch
mas install 926319434 # Stars
mas install 799574890 # Timer
if [ -d "$HOME/.oh-my-zsh" ]; then
warning_print "Skipping 'Oh-My-Zsh!'"
else
pretty_print "Installing 'Oh-My-Zsh!'"
curl -s curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh
fi
if [ -d "$HOME/.dotfiles" ]; then
warning_print "Skipping dotfiles"
else
pretty_print "Cloning dotfiles"
mkdir -p "Development"
cd "Development" || exit
git clone git@github.com:rachelober/dotfiles.git
pretty_print "Linking dotfiles"
cd "$HOME" || exit
ln -s "$HOME"/dotfiles .dotfiles
rcup -v
fi
if [ -f "$HOME/.ssh/id_rsa" ]; then
warning_print "Skipping SSH key generation"
else
pretty_print "Creating SSH key"
ssh-keygen -t rsa
pretty_print "Copied public SSH key to clipboard"
pbcopy < ~/.ssh/id_rsa.pub
pretty_print "Opening GitHub, please add SSH key to account"
open "https://github.com/settings/keys"
pretty_print "Starting ssh-agent and adding SSH key"
ssh-add
fi
if [ "$(brew ls --versions mackup)" ]; then
warning_print "Skipping Mackup"
else
pretty_print "Installing Mackup"
brew install mackup
mackup restore
fi
if [ "$(brew ls --versions macvim)" ]; then
warning_print "Skipping MacVim"
else
pretty_print "Installing MacVim"
brew install macvim --override-system-vim
fi
if [ "$(brew ls --versions shellcheck)" ]; then
warning_print "Skipping shellcheck"
else
pretty_print "Installing shellcheck"
brew install shellcheck
fi
if [ "$(brew ls --versions ack)" ]; then
warning_print "Skipping ack"
else
pretty_print "Installing ack"
brew install ack
fi
if [ "$(brew ls --versions ctags)" ]; then
warning_print "Skipping ctags"
else
pretty_print "Installing ctags"
brew install ctags
fi
if [ "$(brew ls --versions the_silver_searcher)" ]; then
warning_print "Skipping the_silver_searcher"
else
pretty_print "Installing the_silver_searcher"
brew install the_silver_searcher
fi
if [ "$(brew ls --versions tmux)" ]; then
warning_print "Skipping tmux"
else
pretty_print "Installing tmux"
brew install tmux
fi
# Install terminal and vim fonts
brew tap caskroom/fonts
brew cask install font-inconsolata
brew cask install font-source-code-pro
# Install applications available from caskroom
brew tap caskroom/cask
brew cask install adobe-creative-cloud
brew cask install alfred
brew cask install bartender
brew cask install dropbox
#brew cask install flow
brew cask install focus
brew cask install google-chrome
brew cask install google-chrome-canary
brew cask install grammarly
brew cask install imageoptim
brew cask install istat-menus
brew cask install iterm2
brew cask install lastfm
brew cask install macdown
brew cask install pgadmin4
brew cask install rescuetime
brew cask install sketch
brew cask install slack
brew cask install spectacle
brew cask install spotify
brew cask install stay
brew cask install trailer
brew cask install tunnelblick
#brew cask install virtualbox
#brew cask install vlc
brew cask install qlcolorcode qlstephen qlmarkdown quicklook-json qlprettypatch quicklook-csv betterzipql qlimagesize webpquicklook suspicious-package quicklookase qlvideo