functions.bash: bash_prompt: fix/clean up