-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathinstall.sh
executable file
·36 lines (27 loc) · 1.41 KB
/
install.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
# Automatically sets up and installs as much as possible.
# Make sure to run this from the directory containing it.
# May want to check that this is up to date at:
# http://mxcl.github.com/homebrew/
echo "Installing homebrew..."
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
echo "Symlinking .bash_profile..."
ln -fs $PWD/dotfiles/.bash_profile ~/.bash_profile
echo "Symlinking .gitconfig..."
ln -fs $PWD/dotfiles/.gitconfig ~/.gitconfig
echo "Symlinking Sublime settings..."
# The Sublime settings. Note: because this symlinks to the real file here,
# Sublime won't correctly see any changes made to it and refresh itself. If you
# modify this, just run install.sh again to poke Sublime into reloading it.
ln -fs $PWD/sublime/Preferences.sublime-settings ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/User/Preferences.sublime-settings
ln -fs $PWD/sublime/Slate.sublime-color-scheme ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/User/Slate.sublime-color-scheme
echo "Symlinking .ackrc..."
ln -fs $PWD/dotfiles/.ackrc ~/.ackrc
echo "Installing git bash completion..."
brew install git bash-completion
# Run the new .bash_profile.
source ~/.bash_profile
echo "Installing ack..."
brew install ack
echo "Installing Base16 Sublime color themes..."
cd ~/Library/Application\ Support/Sublime\ Text\ 3/Packages
git clone git://github.com/chriskempson/base16-textmate.git Base16