dotfiles/setup.sh

31 lines
596 B
Bash
Raw Normal View History

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.
# 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-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
echo "Installing Dot Files."
source bootstrap.sh
echo "Installing Tmux Configuration."
2013-03-17 02:33:15 -07:00
tmux-powerline/generate_conf.sh
echo "Installing oh-my-zsh."
2013-03-19 03:32:49 -07:00
oh-my-zsh/install.sh -f