[Ilugc] Customize ur CLI

  • From: toufeeq@xxxxxxxxxxxx (tee_aiche)
  • Date: Sun, 23 May 2004 00:01:09 -0700 (PDT)

Hi,

For those of you who missed out this poll on Slashdot.

http://slashdot.org/pollBooth.pl?qid=1116&aid=4

Read through and you could find some good variants for
your PS1.

here's a good one:
export PS1="\u@\h \[\e[33m\]\W\[\e[0m\] \[\`if [[ \$?
= "0" ]]; then echo
'\e[32m=)\e[0m'; else echo '\e[31m=(\e[0m' ; fi\`\] \$
"

gives you:
1.Login
2.Hostname
3.Time in colour
4.an interactive smiley which gives you :) for a
successful command and a :( for an error.

have fun,
toufeeq

=====
70uf33q 
ring me @ 98410-96690
mail me @ toufeeq@xxxxxxxxxxxx
currently running on Shrike with GNOME 2.4 (SVG rokx)


        
                
__________________________________
Do you Yahoo!?
Yahoo! Domains Â– Claim yours for only $14.70/year
http://smallbusiness.promotions.yahoo.com/offer ;

Other related posts:

  • » [Ilugc] Customize ur CLI - tee_aiche