I recently updated my Bash prompt. It started because I wanted to incorporate git status information into the prompt. But once I got that working it turned out I didn't really like it so I ditched it but kept the other stuff I did.
Here's the relevant portion from my .bashrc
:
# Prompt
Here's colors
if you want the color commands to work:
"\[\033[0m\]"
"\[\033[0;30m\]""\[\033[0;31m\]""\[\033[0;32m\]""\[\033[0;33m\]""\[\033[0;34m\]""\[\033[0;35m\]""\[\033[0;36m\]""\[\033[0;37m\]"
"\[\033[1;30m\]""\[\033[1;31m\]""\[\033[1;32m\]""\[\033[1;33m\]""\[\033[1;34m\]""\[\033[1;35m\]""\[\033[1;36m\]""\[\033[1;37m\]"
"\[\033[4;30m\]""\[\033[4;31m\]""\[\033[4;32m\]""\[\033[4;33m\]""\[\033[4;34m\]""\[\033[4;35m\]""\[\033[4;36m\]""\[\033[4;37m\]"
"\[\033[40m\]""\[\033[41m\]""\[\033[42m\]""\[\033[43m\]""\[\033[44m\]""\[\033[45m\]""\[\033[46m\]""\[\033[47m\]"
"\[\033[0;90m\]""\[\033[0;91m\]""\[\033[0;92m\]""\[\033[0;93m\]""\[\033[0;94m\]""\[\033[0;95m\]""\[\033[0;96m\]""\[\033[0;97m\]"
"\[\033[1;90m\]""\[\033[1;91m\]""\[\033[1;92m\]""\[\033[1;93m\]""\[\033[1;94m\]""\[\033[1;95m\]""\[\033[1;96m\]""\[\033[1;97m\]"
"\[\033[0;100m\]""\[\033[0;101m\]""\[\033[0;102m\]""\[\033[0;103m\]""\[\033[0;104m\]""\[\033[10;95m\]""\[\033[0;106m\]""\[\033[0;107m\]"