Submitted by Jochus on 19 Jun 2012 - 21:58
I once created a wiki page about PS1 variables and colors in a terminal. This post was created for Ubuntu environments.
However, this variable doesn't seem to work in Mac OS X/iTerm2. I had to change it to:
\[\033[1;32m\]\u@\h\[\033[0m\] \[\033[1;36m\]\w\[\033[0m\] $