Skip to main content

Colors in Terminal/iTerm2

Posted in

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\] $

Post new comment

The content of this field is kept private and will not be shown publicly.