I have followed the directions outlined by Steve Losh to colorize and format my bash prompt, however, the prompt doesn't update.
My export PS1 line looks like this:
export PS1="\n\[$txtgrn\]\w\[$txtrst\]$(hg_in_repo)\[$txtylw\]$(hg_branch)\[$txtrst\]$(hg_dirty)\n\[$txtcyn\]\$\[$txtrst\] "
Yes, all those $txtxxx's are defined.
Everything works as expected, both inside and out of a repository, but I have to constantly source ~/.bash_profile to get the prompt to update.
Am I missing something? Is there a way to get it to update every time I execute a command, like he demonstrates in the screenshot further down the page?
I am using Mac OSX 10.5 (Leopard), with Terminal and/or iTerm.
