Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#31048 - Default bash prompt (color)
Attached to Project:
Arch Linux
Opened by Alex Warhawk (W4RH4WK) - Tuesday, 07 August 2012, 16:54 GMT
Last edited by Allan McRae (Allan) - Tuesday, 07 August 2012, 21:06 GMT
Opened by Alex Warhawk (W4RH4WK) - Tuesday, 07 August 2012, 16:54 GMT
Last edited by Allan McRae (Allan) - Tuesday, 07 August 2012, 21:06 GMT
|
Detailsi do know about the "don't touch a running system" policy, but this is only a suggestion.
The style archlinux uses is very nice, especially when you first boot the system. But i always found that the default bash prompt is a downer (compared to the nice looking daemon start messages on the boot screen). There might be some reasons, why the default prompt does not use colors, but anyway here is my suggestion for the new default bash prompt. if [ $EUID -eq 0 ]; then PS1="\e[1;37m[\e[1;36m\h\e[1;37m \W]\e[1;31m # \e[0m" else PS1="\e[1;37m[\e[1;34m\u\e[1;36m@\h\e[1;37m \W]\e[0m $ " fi i attached an example which shows you the colors in action. |
This task depends upon
Closed by Allan McRae (Allan)
Tuesday, 07 August 2012, 21:06 GMT
Reason for closing: Not a bug
Additional comments about closing: We use upstream defaults
Tuesday, 07 August 2012, 21:06 GMT
Reason for closing: Not a bug
Additional comments about closing: We use upstream defaults
color.png
There already is https://wiki.archlinux.org/index.php/Color_Bash_Prompt