I'm trying to customize my bash prompt on Mac OS X. Here is what I put in .bash_profile:
$ cat .bash_profile export PS1="\e[0;36m\u : \W \$\e[m " #...
I got the prompt I wanted but when I enter a long command, all is written on a single line. At the end of line, it starts back at the beginning.
How can I improve my custom PS1 to wrap long commands over to the next line?