From e4d3d17dcbd13b33a9d7b5aaa70286682fabea2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20G=C3=B3mez?= Date: Sun, 11 Jul 2021 23:31:44 +0200 Subject: [PATCH] Fixed powerline-go issue https://github.com/justjanne/powerline-go/issues/285 --- bash/.bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash/.bashrc b/bash/.bashrc index cc69f21..446a23c 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -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"