RFC: root/non-root bash prompts different colours?

Nicolas Mailhot Nicolas.Mailhot at laPoste.net
Thu Dec 9 16:54:12 UTC 2004

Le jeudi 09 décembre 2004 à 11:44 -0500, Frank Pineau a écrit :
> On Thu, 2004-12-09 at 11:38 -0500, Nick Bargnesi wrote:
> > 
> > This is the best idea yet, drop the whole idea of altering the prompt
> > and stick any warnings inside kde, gnome, and xfce.  I can't say I
> > would want my fedora installations to warn me about using root though.
> > 
> FWIW, the only reason I change my prompt is so that when I have multiple
> terminal sessions open, some root, some non-, I can more easily
> distinguish between them.  I found that the # wasn't enough to catch my
> eye.  It doesn't really serve as a warning to me that I'm in a root
> session, it's more just an identifier.

Well if we restrict the problem to modern gfx terminals, there are lots
of possibilities :
- background images
- yellow notification bar à la firefox
- etc, etc

This would take care of naïve users since they are not likely to dig out
an old term like rxvt or xterm and will stick to gnome-terminal/kterm


Nicolas Mailhot
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Ceci est une partie de message
	=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=
Url : http://lists.fedoraproject.org/pipermail/devel/attachments/20041209/dfd0348c/attachment-0002.bin 

More information about the devel mailing list