01-08-2016, 03:33 AM
I'm using the following command line to make my username in light red.
export PS1="\[\e[1;31m\][\u@\h\w]\$ \[\e[0m\] "
When I try to make my change permanent in the .bashrc file, it just screws it up. What should I enter into the .bashrc file?
old command:
export PS1="\[\e[1;31m\][\u@\h\w]\$ \[\e[0m\] "
export PS1="\[\e[1;31m\][\u@\h\w]\$ \[\e[0m\] "
When I try to make my change permanent in the .bashrc file, it just screws it up. What should I enter into the .bashrc file?
old command:
export PS1="\[\e[1;31m\][\u@\h\w]\$ \[\e[0m\] "