From 03ec1b8d7a9ab445352c05cbc5817b80cd3a1640 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 2 Feb 2016 15:24:44 -0500 Subject: 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(-) (limited to 'app-shells') 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 -- cgit v1.2.3-65-gdbad