[Bug 284565] New: Only have the hostname as red for the root bash prompt
https://bugzilla.novell.com/show_bug.cgi?id=284565 Summary: Only have the hostname as red for the root bash prompt Product: openSUSE 10.3 Version: Alpha 5 Platform: Other OS/Version: Other Status: NEW Severity: Enhancement Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: francisg@gmail.com QAContact: qa@suse.de The new prompt for the root user makes the hostname and directory location all-red. I like the fact that red is used here, as it makes it clearer when you're logged in as root, but putting the whole prompt as red is perhaps a little too much. How about just having the hostname as red? In a similar vein, how about changing it around a little more altogether? My suggestion: have the time as a light grey, a normal username in green, and the directory location as blue. This ensures that all the information (like the time and hostname) are still there, but they're not as prominent (since the grey puts it into the background). Different colours helps you more immediately differentiate the appropriate information. So, something like: PS1='\[\e[37m\]\A \[\e[32m\]\u\[\e[0;37m\]@\h\[\e[37m\]:\[\e[0;34m\]\w\[\e[0m\]> '; .for the user, and: PS1='\[\e[37m\]\A \[\e[31m\]\u\[\e[0;37m\]@\h\[\e[37m\]:\[\e[0;34m\]\w\[\e[0m\]> '; ..for root. Which ends up looking something like: http://francis.giannaros.org/screenshots/bashprompt.png Personally I don't find the hostname information useful at all (even though I do ssh around) so I omit the hostnames on a lot of prompts I use altogether. Even if the idea above isn't adopted, perhaps some of it could be (like having a normal user as green). Any thoughts? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=284565 chrubis@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |sndirsch@novell.com |screening@forge.provo.novell| |.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=284565 sndirsch@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|sndirsch@novell.com |werner@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=284565#c1
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=284565#c2
--- Comment #2 from Francis Giannaros
https://bugzilla.novell.com/show_bug.cgi?id=284565#c3
--- Comment #3 from Dr. Werner Fink
participants (1)
-
bugzilla_noreply@novell.com