commit: 03ec1b8d7a9ab445352c05cbc5817b80cd3a1640
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 2 20:24:44 2016 +0000
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Wed Feb 3 18:51:41 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03ec1b8d
app-shells/bash: bashrc: enable colors for all TERMS that end in "color"
A bunch of terms end in values like "-256color" and "-color" to indicate
the variant that supports color. Match all of those in the fallback case.
app-shells/bash/files/bashrc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-shells/bash/files/bashrc b/app-shells/bash/files/bashrc
index 87a5562..ed46b7d 100644
--- a/app-shells/bash/files/bashrc
+++ b/app-shells/bash/files/bashrc
@@ -77,7 +77,7 @@ else
# Some systems (e.g. BSD & embedded) don't typically come with
# dircolors so we need to hardcode some terminals in here.
case ${TERM} in
- [aEkx]term*|rxvt*|gnome*|konsole*|screen|cons25) use_color=true;;
+ [aEkx]term*|rxvt*|gnome*|konsole*|screen|cons25|*color) use_color=true;;
esac
fi