@@ -10,22 +10,24 @@ brews=(
10
10
mtr
11
11
node
12
12
openvpn
13
+ postgresql
14
+ pgcli
13
15
nmap
14
16
python
15
17
ruby
16
18
scala
17
19
sbt
18
20
tmux
19
- wget
20
21
zsh
21
22
tree
22
23
s3cmd
23
- wget
24
+ vim --with-override-system-vi
25
+ wget --with-iri
24
26
maven
27
+ mackup
25
28
)
26
29
27
30
casks=(
28
- adobe-reader
29
31
atom
30
32
betterzipql
31
33
cakebrew
@@ -34,60 +36,61 @@ casks=(
34
36
firefox
35
37
freemind
36
38
google-chrome
37
- google-drive
38
- hosts
39
39
intellij-idea-ce
40
40
iterm2
41
41
kindle
42
- picasa
43
- java
44
42
slack
45
43
screenhero
46
44
skype
47
- teleport
48
45
vlc
49
46
tunnelblick
50
47
sublime-text
51
- utorrent
48
+ visual-studio-code
52
49
)
53
50
54
51
pips=(
52
+ pip
55
53
s4cmd
56
- Glances
54
+ glances
57
55
pythonpy
58
56
)
59
57
60
58
gems=(
61
- git-up
59
+ bundle
62
60
)
63
61
64
62
npms=(
65
63
coffee-script
66
64
grunt
67
65
)
68
66
69
- clibs=(
70
- bpkg/bpkg
71
- )
72
-
73
- bkpgs=(
74
- rauchg/wifi-password
67
+ vscode=(
68
+ donjayamanne.python
69
+ dragos.scala-lsp
70
+ lukehoban.Go
71
+ ms-vscode.cpptools
72
+ rebornix.Ruby
73
+ redhat.java
75
74
)
76
75
77
76
# ####################################### End of app list ########################################
78
77
set +e
78
+ set -x
79
79
80
- echo " Installing Xcode ..."
81
- xcode-select --install
82
80
83
81
if test ! $( which brew) ; then
82
+ echo " Installing Xcode ..."
83
+ xcode-select --install
84
+
84
85
echo " Installing Homebrew ..."
85
86
ruby -e " $( curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install) "
86
87
else
87
88
echo " Updating Homebrew ..."
88
89
brew update
90
+ brew upgrade
89
91
fi
90
92
brew doctor
93
+ brew tap homebrew/dupes
91
94
92
95
fails=()
93
96
@@ -121,53 +124,62 @@ function proceed_prompt {
121
124
fi
122
125
}
123
126
124
- brew info ${brews[@]}
125
- proceed_prompt
126
- install ' brew install' ${brews[@]}
127
+ # echo "Install Java"
128
+ # brew cask install java
129
+
130
+ # brew info ${brews[@]}
131
+ # proceed_prompt
132
+ # install 'brew install' ${brews[@]}
133
+
134
+ # brew install caskroom/cask/brew-cask
135
+ # brew tap caskroom/versions
127
136
128
- brew install caskroom/cask/brew-cask
129
- brew tap caskroom/versions
137
+ # brew cask info ${casks[@]}
138
+ # proceed_prompt
139
+ # install 'brew cask install --appdir=/Applications' ${casks[@]}
130
140
131
- brew cask info ${casks[@]}
132
- proceed_prompt
133
- install ' brew cask install --appdir=/Applications' ${casks[@]}
141
+ echo " Install pip"
142
+ install ' easy_install pip'
134
143
135
144
# TODO: add info part of install
136
145
install ' pip install' ${pips[@]}
137
- install ' gem install' ${gems[@]}
138
- install ' clib install' ${clibs[@]}
139
- install ' bpkg install' ${bpkgs[@]}
140
- install ' npm install -g' ${npms[@]}
141
-
142
- echo " Setting up zsh ..."
143
- curl -L http://install.ohmyz.sh | sh
144
- chsh -s $( which zsh)
145
- # TODO: Auto-set theme to "fino-time" in ~/.zshrc (using antigen?)
146
- curl -sSL https://get.rvm.io | bash -s stable # required for some zsh-themes
147
-
148
- echo " Setting git defaults ..."
149
- git config --global rerere.enabled true
150
- git config --global branch.autosetuprebase always
151
- git config --global credential.helper osxkeychain
152
- git config --global user.name $1
153
- git config --global user.email $2
154
-
155
- echo " Upgrading ..."
156
- pip install --upgrade setuptools
157
- pip install --upgrade pip
158
- gem update --system
159
-
160
- echo " Cleaning up ..."
161
- brew cleanup
162
- brew cask cleanup
163
- brew linkapps
164
-
165
- for fail in ${fails[@]}
166
- do
167
- echo " Failed to install: $fail "
168
- done
169
-
170
- echo " Run ` mackup restore` after DropBox has done syncing"
171
-
172
- read -p " Hit enter to run [OSX for Hackers] script..." c
173
- sh -c " $( curl -sL https://gist.githubusercontent.com/brandonb927/3195465/raw/osx-for-hackers.sh) "
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"
185
+ echo " Done"
0 commit comments