Bug 1474727
Summary: | Coloured root terminal prompt | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Armin Wehrfritz <dkxls23> | ||||
Component: | bash | Assignee: | Siteshwar Vashisht <svashisht> | ||||
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | low | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 26 | CC: | admiller, kdudka, svashisht | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2017-07-25 09:46:11 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Oh, I forgot to add, there has been a rather old SUSE bug report where they discussed the various options on how to get this feature implemented. Not sure if it is of any value, but here is the link: https://bugzilla.novell.com/show_bug.cgi?id=144620 This is a duplicate of bug #1228939. Sorry for the duplicate report. *** This bug has been marked as a duplicate of bug 1228939 *** |
Created attachment 1304116 [details] bash.bashrc openSUSE Leap 42.2 This is a feature request for a coloured root terminal prompt. I work a lot with the command line and find it very useful to have the prompt coloured in red and bold if I am working as root (this happens rarely, but if then the red colour reminds to be careful). Background: I recently switch from openSUSE to Fedora 26 and I am overall very happy with the decision. However, this is one of the very few features that I am missing. I attached the system-wide (i.e. /etc/bash.bashrc) bashrc from openSUSE Leap 42.2, which contains the hacks they apply to get the root prompt in red and bold (see lines 165 ff.).