forked from pathikrit/mac-setup-script
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.sh
56 lines (44 loc) · 1.44 KB
/
setup.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
#!/usr/bin/env bash
echo "Installing check and install brew + xcode"
# Check for Homebrew,
# Install if we don't have it
if test ! $(which brew); then
prompt "Install Xcode"
xcode-select --install
prompt "Install Homebrew"
echo "Installing homebrew..."
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew update
brew upgrade
else
echo "Update Homebrew"
brew update
brew upgrade
fi
# Clone repo and run setup script
brew install git
git clone https://github.com/bhicks329/mac-setup-script.git
cd mac-setup-script
make setup_mac
#echo "Copying dotfiles from Github"
#cd ~
#git clone [email protected]:bradp/dotfiles.git .dotfiles
#cd .dotfiles
#sh symdotfiles
# echo "Grunting it up"
# npm install -g grunt-cli
#Install Zsh & Oh My Zsh
echo "Installing Oh My ZSH..."
curl -L http://install.ohmyz.sh | sh
echo "Setting up Oh My Zsh theme..."
#cd /Users/bradparbs/.oh-my-zsh/themes
#curl https://gist.githubusercontent.com/bradp/a52fffd9cad1cd51edb7/raw/cb46de8e4c77beb7fad38c81dbddf531d9875c78/brad-muse.zsh-theme > brad-muse.zsh-theme
echo "Setting up Zsh plugins..."
cd ~/.oh-my-zsh/custom/plugins
git clone git://github.com/zsh-users/zsh-syntax-highlighting.git
echo "Setting ZSH as shell..."
chsh -s /bin/zsh
# echo "Please setup and sync Dropbox, and then run this script again."
# read -p "Press [Enter] key after this..."
# echo "Restoring setup from Mackup..."
#mackup restore @TODO uncomment