-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.sh
More file actions
43 lines (36 loc) · 1.07 KB
/
Copy pathinstall.sh
File metadata and controls
43 lines (36 loc) · 1.07 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
#!/bin/sh
if which xcodebuild >/dev/null; then
while :
do
# accept license for xcode
sudo xcodebuild -license
# homebrew
sudo ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
# node
sudo brew install node
# git
sudo brew install git
sudo brew install git-flow
# Oh my ZSH
curl -L http://install.ohmyz.sh | sh
cp ~/.zshrc ~/.zshrc.orig
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
sudo chsh -s /bin/zsh
# npm
curl -L https://npmjs.org/install.sh | sh
# lessc
sudo npm install -g less
sudo port select python python27-apple
brew install python
pip install --user git+git://github.com/Lokaltog/powerline
echo --------------------------------------------------
echo "Finished install of all needed commandline tools"
echo --------------------------------------------------
break;
done;
else
echo --------------------------------------------------
echo "First you have to install XCODE."
echo "You can find it in the Appstore"
echo --------------------------------------------------
fi