Monday, October 04, 2004

Unix: Colorized Prompt for the Bash Shell

Try this prompt:

PS1="\e[0;32m\]\u\e[0;31m\]@\e[0;33m\]\h \e[0;36m\]\w\n\e[0;33m\]> \[\e[m\]"

Then check out the definitive document on the subject.

0 comments: