I\'ve done something to break my Bash Shell Prompt in OS X (10.5.7) Terminal.
This is the PS1 that I had configured:
PS1=\'\\[\\e[1;32m\\]\\h\\[\\e[0m\\]
If you're using the title bar trick "\e]2;titlebar\a", make sure to escape that too: "\[\e]2;titlebar\a\]"
"\e]2;titlebar\a"
"\[\e]2;titlebar\a\]"