Bash: refactor bash prompt