summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2016-05-15 21:23:42 +0100
committerPádraig Brady <P@draigBrady.com>2016-05-15 21:26:19 +0100
commit7945e09e7b1164cc463d6f6c2bb717211276df74 (patch)
treeeced70c80cae27430810f818fa7b6d931b1b2e26
parent43df058b91e94c096b642291737daea1d2868cdb (diff)
downloadcoreutils-7945e09e7b1164cc463d6f6c2bb717211276df74.tar.xz
dircolors: output colors for any $TERM matching *color*
* src/dircolors.hin: Reduce the list by replacing all specific mentions of "color" with the pattern "*color*". This will also cater for other entries like "konsole-256color". Fixes http://bugs.gnu.org/23542
-rw-r--r--src/dircolors.hin8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/dircolors.hin b/src/dircolors.hin
index d2ea4531c..4fb1f045c 100644
--- a/src/dircolors.hin
+++ b/src/dircolors.hin
@@ -12,30 +12,24 @@
# against the TERM environment variable to determine if it is colorizable.
TERM Eterm
TERM ansi
-TERM color-xterm
+TERM *color*
TERM con[0-9]*x[0-9]*
TERM cons25
TERM console
TERM cygwin
TERM dtterm
-TERM eterm-color
TERM gnome
-TERM gnome-256color
TERM hurd
TERM jfbterm
TERM konsole
TERM kterm
TERM linux
TERM linux-c
-TERM mach-color
-TERM mach-gnu-color
TERM mlterm
TERM putty
-TERM putty-256color
TERM rxvt*
TERM screen*
TERM st
-TERM st-256color
TERM terminator
TERM tmux*
TERM vt100