dotfiles/setup.sh

27 lines
582 B
Bash
Raw Normal View History

2014-04-14 21:49:44 -06:00
#!/usr/bin/env bash
2014-04-26 20:20:00 -06:00
cd `dirname $BASH_SOURCE` && source resources/bootstrapping.sh
source dotfiles/lib/shellrc/functions.sh
2014-05-02 15:11:27 -06:00
2013-03-31 19:31:41 -06:00
case `uname` in
'Darwin')
source resources/osx.sh
source resources/brew.sh
;;
2013-03-31 19:31:41 -06:00
'Linux')
source resources/apt-get.sh
2013-03-31 19:31:41 -06:00
;;
esac
2014-05-02 15:11:27 -06:00
function install_powerline() {
hash pip 2>/dev/null || sudo easy_install pip
if test -z $(pip show Powerline | grep Location | awk '{print $2}');
then
sudo pip install --user git+git://github.com/Lokaltog/powerline
fi
}
install_powerline
source bootstrap.sh