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
|
2014-04-25 14:13:40 -06:00
|
|
|
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')
|
2014-04-14 14:52:10 -06:00
|
|
|
source resources/osx.sh
|
|
|
|
source resources/brew.sh
|
|
|
|
;;
|
2013-03-31 19:31:41 -06:00
|
|
|
'Linux')
|
2014-04-14 14:52:10 -06:00
|
|
|
source resources/apt-get.sh
|
2013-03-31 19:31:41 -06:00
|
|
|
;;
|
|
|
|
esac
|
2013-03-18 10:56:29 -06:00
|
|
|
|
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
|
2013-03-18 10:56:29 -06:00
|
|
|
source bootstrap.sh
|