[ubuntu] Misbehaving Bash Prompt

view full story

http://ubuntuforums.org – I added this command to my root .bashrc file to add color to my prompt and to simplify its path portion to the lowest level directory, Code: export PS1="\e[1;31m\u@\h:\W\$\e[m " and my bash prompt comes up ending with $ when I expected #. Also, occasionally, when I enter a command, part of that command becomes part of my prompt! If the following is a prompt and command, Code: prompt$ command then my prompt might come back as Code: prompt$ com What's causing this strange behavior? Please let me know if you need to see more of my .bashrc file. Thanks for your help (Hardware)