On 15/05/16 14:33, nl6720 wrote:
Hi!
dircolors.hin currently has 'TERM konsole' but not 'TERM konsole-256color'.
Could you please add it.
The following should support that in a more general way.
thanks,
Pádraig
>From 7945e09e7b1164cc463d6f6c2bb717211276df74 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?P=C3=A1draig=20Brady?= <[email protected]>
Date: Sun, 15 May 2016 21:23:42 +0100
Subject: [PATCH] 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
---
src/dircolors.hin | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/src/dircolors.hin b/src/dircolors.hin
index d2ea453..4fb1f04 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
--
2.5.5