Skip to content

Commit

Permalink
Fixed powerline-go issue
Browse files Browse the repository at this point in the history
  • Loading branch information
algono authored Jul 11, 2021
1 parent 81b216c commit e4d3d17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bash/.bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ fi
# Powerline-Go prompt
GOPATH=$HOME/go
function _update_ps1() {
PS1="$($GOPATH/bin/powerline-go -error $? -hostname-only-if-ssh -newline)"
PS1="$($GOPATH/bin/powerline-go -error $? -hostname-only-if-ssh -newline -shell bash -jobs $(jobs -p | wc -l))"
}
if [ "$TERM" != "linux" ] && [ -f "$GOPATH/bin/powerline-go" ]; then
PROMPT_COMMAND="_update_ps1; $PROMPT_COMMAND"
Expand Down

0 comments on commit e4d3d17

Please sign in to comment.