08-30-2015, 09:42 PM
(08-30-2015, 08:13 AM)jacatone link Wrote: I'm using color in my bash shell but can't get the text to drop to the next line below. Could someone tell me what's wrong here?If you want to move the prompt sse the \n switch at the end
export PS1="\[\e[1;31m[\u@\h \W]\$ \e[m "
Code:
export PS1="\e[1;31m[\u@\h \W]\$ \e[m \n"