@@ -15,7 +15,7 @@ brews=(
15
15
nmap
16
16
python
17
17
ruby
18
- scala
18
+ scala211
19
19
sbt
20
20
tmux
21
21
zsh
@@ -75,7 +75,6 @@ vscode=(
75
75
76
76
# ####################################### End of app list ########################################
77
77
set +e
78
- set -x
79
78
80
79
81
80
if test ! $( which brew) ; then
@@ -124,62 +123,62 @@ function proceed_prompt {
124
123
fi
125
124
}
126
125
127
- # echo "Install Java"
128
- # brew cask install java
126
+ echo " Install Java"
127
+ brew cask install java8
129
128
130
- # brew info ${brews[@]}
131
- # proceed_prompt
132
- # install 'brew install' ${brews[@]}
129
+ brew info ${brews[@]}
130
+ proceed_prompt
131
+ install ' brew install' ${brews[@]}
133
132
134
- # brew install caskroom/cask/brew-cask
135
- # brew tap caskroom/versions
133
+ brew install caskroom/cask/brew-cask
134
+ brew tap caskroom/versions
136
135
137
- # brew cask info ${casks[@]}
138
- # proceed_prompt
139
- # install 'brew cask install --appdir=/Applications' ${casks[@]}
136
+ brew cask info ${casks[@]}
137
+ proceed_prompt
138
+ install ' brew cask install --appdir=/Applications' ${casks[@]}
140
139
141
140
echo " Install pip"
142
141
install ' easy_install pip'
143
142
144
143
# TODO: add info part of install
145
144
install ' pip install' ${pips[@]}
146
- # install 'gem install' ${gems[@]}
147
- # install 'npm install -g' ${npms[@]}
148
- # install 'code --install-extension' ${vscode[@]}
149
-
150
- # echo "Setting up zsh ..."
151
- # curl -L http://install.ohmyz.sh | sh
152
- # chsh -s $(which zsh)
153
- # # TODO: Auto-set theme to "fino-time" in ~/.zshrc (using antigen?)
154
- # curl -sSL https://get.rvm.io | bash -s stable # required for some zsh-themes
155
-
156
- # echo "Setting git defaults ..."
157
- # git config --global rerere.enabled true
158
- # git config --global branch.autosetuprebase always
159
- # git config --global credential.helper osxkeychain
160
- # git config --global user.name $1
161
- # git config --global user.email $2
162
-
163
- # echo "Upgrading ..."
164
- # pip install --upgrade setuptools
165
- # pip install --upgrade pip
166
- # gem update --system
167
-
168
- # prompt "Install mac CLI [NOTE: Say NO to bash-completions since we have fzf]!"
169
- # sh -c "$(curl -fsSL https://raw.githubusercontent.com/guarinogabriel/mac-cli/master/mac-cli/tools/install)"
170
-
171
- # echo "Update packages"
172
- # pip3 install --upgrade pip setuptools wheel
173
- # mac update
174
-
175
- # echo "Cleaning up ..."
176
- # brew cleanup
177
- # brew cask cleanup
178
-
179
- # for fail in ${fails[@]}
180
- # do
181
- # echo "Failed to install: $fail"
182
- # done
183
-
184
- # read -p "Run `mackup restore` after DropBox has done syncing"
145
+ install ' gem install' ${gems[@]}
146
+ install ' npm install -g' ${npms[@]}
147
+ install ' code --install-extension' ${vscode[@]}
148
+
149
+ echo " Setting up zsh ..."
150
+ curl -L http://install.ohmyz.sh | sh
151
+ chsh -s $( which zsh)
152
+ # TODO: Auto-set theme to "fino-time" in ~/.zshrc (using antigen?)
153
+ curl -sSL https://get.rvm.io | bash -s stable # required for some zsh-themes
154
+
155
+ echo " Setting git defaults ..."
156
+ git config --global rerere.enabled true
157
+ git config --global branch.autosetuprebase always
158
+ git config --global credential.helper osxkeychain
159
+ git config --global user.name $1
160
+ git config --global user.email $2
161
+
162
+ echo " Upgrading ..."
163
+ pip install --upgrade setuptools
164
+ pip install --upgrade pip
165
+ gem update --system
166
+
167
+ prompt " Install mac CLI [NOTE: Say NO to bash-completions since we have fzf]!"
168
+ sh -c " $( curl -fsSL https://raw.githubusercontent.com/guarinogabriel/mac-cli/master/mac-cli/tools/install) "
169
+
170
+ echo " Update packages"
171
+ pip3 install --upgrade pip setuptools wheel
172
+ mac update
173
+
174
+ echo " Cleaning up ..."
175
+ brew cleanup
176
+ brew cask cleanup
177
+
178
+ for fail in ${fails[@]}
179
+ do
180
+ echo " Failed to install: $fail "
181
+ done
182
+
183
+ read -p " Run ` mackup restore` after DropBox has done syncing"
185
184
echo " Done"
0 commit comments