From: Mike Frysinger Date: Tue, 2 Feb 2016 20:24:44 +0000 (-0500) Subject: app-shells/bash: bashrc: enable colors for all TERMS that end in "color" X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=03ec1b8d7a9ab445352c05cbc5817b80cd3a1640;p=gentoo.git 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. --- diff --git a/app-shells/bash/files/bashrc b/app-shells/bash/files/bashrc index 87a55629f695..ed46b7d7e38c 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