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#18409 - [bash] bring more color to the console
Attached to Project:
Arch Linux
Opened by Mark (markg85) - Saturday, 20 February 2010, 13:36 GMT
Last edited by Dan Griffiths (Ghost1227) - Saturday, 27 February 2010, 23:13 GMT
Opened by Mark (markg85) - Saturday, 20 February 2010, 13:36 GMT
Last edited by Dan Griffiths (Ghost1227) - Saturday, 27 February 2010, 23:13 GMT
|
DetailsI hope i'm in the right category for this. Anyhow, i posted the exact same message on the forum as well: http://bbs.archlinux.org/viewtopic.php?pid=712986
Just for completeness pasted it here: Hi, first posting it here so people can discuss it. What i would like to propose is bringing a little more color in the default archlinux console: * [user@host ~] $ colors * grep --color=auto colors And to give an idea how that looks: Grep colors: http://img7.imageshack.us/i/grepcolors.png/ Console colors: http://img682.imageshack.us/i/consolecolors.png/ And this is how i did that (in .bashrc): # Check for an interactive session [ -z "$PS1" ] && return alias ls='ls --color=auto' alias grep='grep --color=auto' PS1='\033[01m[\033[0m \u\033[01;37m @ \033[0m\h \033[36m\W \033[01;37m]\033[0;32m \$\033[0m ' Now i would propose that this gets included in archlinux itself so every new arch user can enjoy these fancy colors ^_^ This can probably done by editing the global bashrc or the user .bashrc but i leave that up to the people that know what's best. Let me know what you think of this idea. Btw. for the grep color. That adjustment is already in bashrc for ls.. but not for grep, so it makes sense to me to include grep.. |
This task depends upon
Closed by Dan Griffiths (Ghost1227)
Saturday, 27 February 2010, 23:13 GMT
Reason for closing: Not a bug
Additional comments about closing: Closed by request of OP
Saturday, 27 February 2010, 23:13 GMT
Reason for closing: Not a bug
Additional comments about closing: Closed by request of OP
Also there is enable-system-config-files.patch which enables /etc/bash.bashrc just to make colored prompt in X terminals and autoload bash_completion.
I'm in favour of removing this altogether.
EDIT: I was too fast on bash.bashrc, it actually changes the title of a terminal. So ignore this part of a comment.
You are WHAT? You want to remove all colors and leave the color stuff to the user!
Sure, that's an option but certainly wasn't my intent with opening this feature request.
I hope you could reconsider that and consider my proposal.. although i doubt you will if you want to remove all colors.
And "all colors" in this case is just "alias ls='ls --color=auto'",
and its more about whether it's worth to provide /etc/skel/bash* in the bash package,
considering the fact that prompt is already set in /etc/bash.bashrc and color alias(es) can be easily added by user, if needed.