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,
Searched net and site but haven't found solution yet. Installed XAMPP but this wasn't visible through command prompt so installed 32-bit mysql on 64-bit machine running windows 8 manually. The problem is when I load the command prompt and type mysql the command prompt freezes and won't even close when I try to close it through the task manager.
My Bash prompt clears itself when deleting the text after it or going too far in the history.
When logging in, the prompt looks normal. There are white brackets around a colored username and then a white > as my prompt, however if I move up twice in my history, the history command overwrites my prompt: