[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: rm -r * and the default prompt



'Raul Miller wrote:'
>
>> '=?iso-8859-1?Q?Nicol=E1s_Lichtmaier?= wrote:'
>> > So I say: PS1="[\\u] \\h:\\w\\$ " !!!!  =D
>On May 21, Chris Fearnley wrote
>> No, PS1='\u@\h:\w\$ ' !!!!!
>> 
>I'd prefer PS1='\$ '
>
>However, if you want all that fanciness, a compromise is:
>PS1='\u@\h \W\$ '

How about:
PS1='\[\033[40;31m\]pwd: \[\033[40;33m\]\w \[\033[40;37m\]\n\u@\H\$ '

I'll repeat my conclusion:  leave it as PS1="\\$ " and provide a
customization app for sysadmins to edit /etc/profile and another for
users to edit ~/.bash_profile (and other dotfiles too, of course) and
keep the installation's paws away from customizations that EVERYBODY
has a different opinion about.

-- 
Christopher J. Fearnley          |  Linux/Internet Consulting
cjf@netaxs.com                   |  Design Science Revolutionary
http://www.netaxs.com/~cjf       |  Explorer in Universe
ftp://ftp.netaxs.com/people/cjf  |  "Dare to be Naive" -- Bucky Fuller


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: