You are not logged in.

#1 2009-12-31 20:54:43

pogeymanz
Member
Registered: 2008-03-11
Posts: 1,020

[SOLVED]Somebody fix my .bashrc's PS1 please

PS1='\[\e[0;32m\][\[\e[m\]\[\e[0;37m\]\u\[\e[m\] \[\e[1;34m\]\w\[\e[m\] \[\e[0;32m\]]\[\e[0;37m\]\$  \e[0m\]'

Whenever I use this, I have problems if my command runs for multiple lines or if I use the up key to search my command history. Does anyone see what is wrong with my syntax?

Wow. I really jumped the gun. I figured it out just by realizing that all of the '/e's always had a '\[' before them except for that last one. I put one there and it's good now.

Last edited by pogeymanz (2009-12-31 21:00:50)

Offline

Board footer

Powered by FluxBB