To: zeugma
does that line go in the user's .bash_profile?
18 posted on
05/12/2006 12:32:59 PM PDT by
ShadowAce
(Linux -- The Ultimate Windows Service Pack)
To: ShadowAce
works better if you put it in .bashrc, because .bashrc is read by spawned processes. I believe .bash_profile is only read at login. See 'man bash' for more details :-)
19 posted on
05/12/2006 12:53:22 PM PDT by
zeugma
(Come to the Dark Side... We have cookies!)
To: ShadowAce
BTW: here's what it looks like in my .bashrc. Gotta do weird things because of the way the shell parses stuff.
PS1="\w \`if [ \$? = 0 ]; then echo :\\\); else echo :\\\(; fi\` "
20 posted on
05/12/2006 12:56:42 PM PDT by
zeugma
(Come to the Dark Side... We have cookies!)
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson