modules-right not working in bash
Ajaypathak372 opened this issue · comments
Ajay Pathak commented
I am using Bash and in the powerline-go, I am using -modules-right
but the things are not showing in the right side they are showing in the left side.
My .bashrc
file:
powerline_args=(
-shell bash
-eval
-modules-right git,jobs,time
-numeric-exit-codes
-hostname-only-if-ssh
-modules venv,user,ssh,cwd,perms,exit,hg,root
-cwd-max-depth 4
)
function _update_ps1() {
eval "$($GOPATH/bin/powerline-go -error $? ${powerline_args[@]})"
}
if [ "$TERM" != "linux" ] && [ -f "$GOPATH/bin/powerline-go" ]; then
PROMPT_COMMAND="_update_ps1; $PROMPT_COMMAND"
fi
I don't know if its a bug with bash or maybe it's just not working in my case. I will be really thankful if anyone have any clue about this.
Boyd Kelly commented
Bash only supports left prompt.