]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
dircolors: output colors for any $TERM matching *color*
authorPádraig Brady <P@draigBrady.com>
Sun, 15 May 2016 20:23:42 +0000 (21:23 +0100)
committerPádraig Brady <P@draigBrady.com>
Sun, 15 May 2016 20:26:19 +0000 (21:26 +0100)
* 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

src/dircolors.hin

index d2ea4531c4ca555beae67f06eea715442e140e32..4fb1f045c895751095395a6ce9a2455d17bc0328 100644 (file)
 # 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