Switching from the old separate powerlines to the new python powerline

This commit is contained in:
Dustin Swan
2013-03-21 00:28:55 -05:00
parent ac90073f0c
commit 2a50e55c43
7 changed files with 7 additions and 212 deletions

17
zshrc
View File

@@ -1,21 +1,8 @@
# Start tmux... just trying it out
# if [ "$TMUX" = "" ]; then tmux; fi
# powerline-shell
function powerline_precmd() {
export PS1="$(~/dotfiles/powerline-shell/powerline-shell.py $? --shell zsh)"
}
function install_powerline_precmd() {
for s in "${precmd_functions[@]}"; do
if [ "$s" = "powerline_precmd" ]; then
return
fi
done
precmd_functions+=(powerline_precmd)
}
install_powerline_precmd
# Powerline
. /usr/local/lib/python2.7/site-packages/powerline/bindings/zsh/powerline.zsh
# Tmuxinator
[[ -s $HOME/.tmuxinator/scripts/tmuxinator ]] && source $HOME/.tmuxinator/scripts/tmuxinator