2013-03-30 18:03:43 -07:00
|
|
|
#!/bin/bash
|
2013-04-01 01:31:41 +00:00
|
|
|
# Assumes that gcc, make and git as well as a package manager (brew,
|
|
|
|
# apt-get) is installed on the system.
|
|
|
|
|
2013-03-17 23:46:42 +01:00
|
|
|
# Go to the source directory of this script.
|
2013-03-17 02:33:15 -07:00
|
|
|
cd "$(dirname "${BASH_SOURCE}")"
|
|
|
|
|
2013-04-01 01:31:41 +00:00
|
|
|
case `uname` in
|
|
|
|
'Darwin')
|
|
|
|
source .brew
|
|
|
|
;;
|
|
|
|
'Linux')
|
|
|
|
source .apt-get
|
|
|
|
;;
|
|
|
|
esac
|
2013-03-18 09:56:29 -07:00
|
|
|
|
2013-03-19 03:03:01 -07:00
|
|
|
function install_python_packages() {
|
|
|
|
sudo -v
|
|
|
|
source ~/.path
|
|
|
|
easy_install pip
|
|
|
|
pip install -r requirements.txt
|
|
|
|
}
|
|
|
|
|
2013-03-17 02:33:15 -07:00
|
|
|
|
2013-03-18 09:56:29 -07:00
|
|
|
echo "Installing Dot Files."
|
|
|
|
source bootstrap.sh
|
2013-03-17 20:27:33 -07:00
|
|
|
echo "Installing Tmux Configuration."
|
2013-03-17 02:33:15 -07:00
|
|
|
tmux-powerline/generate_conf.sh
|
2013-03-17 20:27:33 -07:00
|
|
|
echo "Installing oh-my-zsh."
|
2013-03-19 03:32:49 -07:00
|
|
|
oh-my-zsh/install.sh -f
|