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,
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,