Restructures prompt logic to go into .bashprompt.

This allows me to add (dynamically) the functions to execute to generate
$PS1 with every $PROMPT_COMMAND. This approach is necessary as \[...\]
constructs (that indicate zero-width-rendering characters to bash's flow
control) aren't respected unless in $PS1.