# enable powerline-shell prompt: https://github.com/banga/powerline-shell

function _update_ps1() {
    PS1="$(~/repos/powerline-shell/powerline-shell.py $? --cwd-mode=plain 2> /dev/null)"
#    PS1="$(~/repos/powerline-shell/powerline-shell.py $? --mode=flat 2> /dev/null)"
}

if [ "$TERM" != "linux" ]; then
    PROMPT_COMMAND="_update_ps1; $PROMPT_COMMAND"
fi


# ----
# file created by github.com/theno/fabsetup
