Posts: 27
Threads: 19
Joined: Aug 2015
Reputation:
0
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?
export PS1="\[\e[1;31m[\u@\h \W]\$ \e[m "
Posts: 27
Threads: 19
Joined: Aug 2015
Reputation:
0
Actually, I meant after the $ sign then drop down below to the next line like it would if I didn't add any color.
jacatone@Dell-4550:~$ 64dfg646df4g654fg654d6fg64fd64g6fd4g64fd64g6df4g6fd
5g64fd64g665df4g646sd465464ds646d5f4
Posts: 27
Threads: 19
Joined: Aug 2015
Reputation:
0
Ah, it's getting there. It now types over anything added to the second drop down line rather than just continuing on.
jacatone@Dell-4550 ~$ 54df5dddddddddddddddddddddddddddddddddddddddddddddddddddd
222222dddddddddddddd
should be,
jacatone@Dell-4550 ~$ 54df5dddddddddddddddddddddddddddddddddddddddddddddddddddd
dddddddddddddd222222