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

Alan Cox alan at redhat.com
Wed Dec 8 17:07:26 UTC 2004


On Wed, Dec 08, 2004 at 05:03:02PM +0000, Tim Waugh wrote:
>   https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=139628
> 
> Should we implement a scheme to differentiate root/non-root bash
> prompts by colour?

As proposed no. It makes the prompt the same in all cases for colourblind
users. A combination might work but you would to implemnent some fairly fancy
logic topic to dynamically adjust the colour scheme based on the background
and foreground colour of the display, as well as avoiding red on mono monitors.

Alan




More information about the devel mailing list