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

Re: base-files 1.6 (source all) uploaded to master



On Sat, 7 Feb 1998, Christian Schwarz wrote:

: On Sat, 7 Feb 1998, Santiago Vila wrote:
: 
: > -----BEGIN PGP SIGNED MESSAGE-----
: > 
: > Format: 1.5
: > Date: Sat,  7 Feb 1998 13:30:46 +0100
: > Source: base-files
: > Binary: base-files
: > Architecture: source all
: > Version: 1.6
: [snip]
: >  .
: >    * Default prompt for root is now PS1='\u@\h:\w\$ ', which may not
: >      please everybody and/or generate a flame war, but at least is better
: >      than nothing (previosuly it was PS1='\h\$ ').
: [snip]
: 
: Isn't it common behaviour to use a hash character (#) for the root prompt
: to distinguish it from the other user's prompts (which use a dollar sign)? 
: At least, that's why I use on my systems here...
: 
: 
: Thanks,
: 
: Chris
: 
: --          _,,     Christian Schwarz
:            / o \__   schwarz@monet.m.isar.de, schwarz@schwarz-online.com,
:            !   ___;   schwarz@debian.org, schwarz@mathematik.tu-muenchen.de
:            \  /        
:   \\\______/  !        PGP-fp: 8F 61 EB 6D CF 23 CA D7  34 05 14 5C C8 DC 22 BA
:    \          /         http://fatman.mathematik.tu-muenchen.de/~schwarz/
: -.-.,---,-,-..---,-,-.,----.-.-
:   "DIE ENTE BLEIBT DRAUSSEN!"
: 

'\$' will evaluate to a '#' if the user is root.

kepler:~ # echo $PS1
\h:\w \$

Works for me.  (Of course, this is bash)

--
Nathan Norman
MidcoNet - 410 South Phillips Avenue - Sioux Falls, SD  57104
phone: (605) 334-4454 fax: (605) 335-1173
mailto://finn@midco.net   http://www.midco.net
PGP Key ID: 0xA33B86E9 - Public key available at keyservers
PGP Key fingerprint: CE03 10AF 3281 1858  9D32 C2AB 936D C472



--
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: