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,
and my bash prompt comes up ending with $ when I expected #.Code:export PS1="\e[1;31m\u@\h:\W\$\e[m "
Also, occasionally, when I enter a command, part of that command
becomes part of my prompt!
If the following is a prompt and command,
then my prompt might come back asCode:prompt$ command
What's causing this strange behavior?Code:prompt$ com
Please let me know if you need to see more of my .bashrc file.
Thanks for your help and grateful for this forum, Randy
Bookmarks