2 lines of clean up. added a comment

This commit is contained in:
Russell R. 2020-11-27 17:04:19 -05:00
parent bedfeeaa24
commit f45096687f
1 changed files with 2 additions and 1 deletions

View File

@ -158,7 +158,8 @@ source $HOME/.keychain/$HOSTNAME-sh
# Use the Powerline_go prompt system
function _update_ps1() {
PS1="$($GOPATH/bin/powerline-go -condensed -error $?)"
}
} # End _update_ps1() function
if [ "$TERM" != "linux" ] && [ -f "$GOPATH/bin/powerline-go" ]; then
PROMPT_COMMAND="_update_ps1; $PROMPT_COMMAND"
fi