Use PROMPT_COMMAND to set variable for simple prompt
Use PROMPT_COMMAND to set variable for simple prompt

This is a more civilized approach to control PS1 output. All hard
work is done by PROMPT_COMMAND before rendering PS1.

PS1 is rendered using bash variable substitutions.

viniciusban/bashconfig