multi-line command doesn't wrap correctly
I decided to change the default prompt values for Bash on my CentOS4 SSH terminal. I edited /etc/bashrc to use
PS1="\e[31;1m\] \n\n \w \! \u@\h \A \d\n\n>>> \e[0m"
Since doing this, multi-line Bash commands fail to wrap correctly. Instead of moving to a new line, the second line overwrites the first line, which is a mess to read and causes many other problems with the wraping when you try to do things like delete characters and such. How should I go about fixing this?
|