9325dbb
From c7b13f5e1a7ad012c510a8bdd5a8943ab4b55833 Mon Sep 17 00:00:00 2001
46d4978
From: Kamil Dudka <kdudka@redhat.com>
46d4978
Date: Fri, 17 Jun 2016 16:58:18 +0200
46d4978
Subject: [PATCH] downstream changes to default DIR_COLORS
46d4978
46d4978
---
441f1d7
 DIR_COLORS              |  9 ++++++++-
441f1d7
 DIR_COLORS.lightbgcolor | 21 +++++++++++++++------
441f1d7
 2 files changed, 23 insertions(+), 7 deletions(-)
46d4978
46d4978
diff --git a/DIR_COLORS b/DIR_COLORS
9325dbb
index b465771..ad42b09 100644
46d4978
--- a/DIR_COLORS
46d4978
+++ b/DIR_COLORS
46d4978
@@ -1,3 +1,7 @@
46d4978
+# This file goes in the /etc directory, and must be world readable.
23b297b
+# You can override the system defaults by making a copy of this file
23b297b
+# as ~/.dir_colors
46d4978
+
46d4978
 # Configuration file for dircolors, a utility to help you set the
46d4978
 # LS_COLORS environment variable used by GNU ls with the --color option.
46d4978
 
43d181c
@@ -11,6 +15,9 @@
9325dbb
 
9325dbb
 # Global config options can be specified before TERM or COLORTERM entries
46d4978
 
46d4978
+# For compatibility, the pattern "^COLOR.*none" is recognized as a way to
46d4978
+# disable colorization.  See https://bugzilla.redhat.com/1349579 for details.
46d4978
+
43d181c
 # ===================================================================
43d181c
 # Terminal filters
43d181c
 # ===================================================================
43d181c
@@ -69,7 +76,7 @@ DOOR 01;35	# door
46d4978
 BLK 40;33;01	# block device driver
46d4978
 CHR 40;33;01	# character device driver
46d4978
 ORPHAN 40;31;01 # symlink to nonexistent file, or non-stat'able file ...
46d4978
-MISSING 00      # ... and the files they point to
46d4978
+MISSING 01;37;41 # ... and the files they point to
46d4978
 SETUID 37;41	# file that is setuid (u+s)
46d4978
 SETGID 30;43	# file that is setgid (g+s)
9325dbb
 CAPABILITY 00	# file with capability (very expensive to lookup)
46d4978
diff --git a/DIR_COLORS.lightbgcolor b/DIR_COLORS.lightbgcolor
9325dbb
index eab6258..1627b63 100644
46d4978
--- a/DIR_COLORS.lightbgcolor
46d4978
+++ b/DIR_COLORS.lightbgcolor
46d4978
@@ -1,3 +1,9 @@
46d4978
+# Configuration file for the color ls utility - modified for lighter backgrounds
46d4978
+
46d4978
+# This file goes in the /etc directory, and must be world readable.
23b297b
+# You can override the system defaults by making a copy of this file
23b297b
+# as ~/.dir_colors
46d4978
+
46d4978
 # Configuration file for dircolors, a utility to help you set the
46d4978
 # LS_COLORS environment variable used by GNU ls with the --color option.
46d4978
 
43d181c
@@ -11,6 +17,9 @@
9325dbb
 
9325dbb
 # Global config options can be specified before TERM or COLORTERM entries
46d4978
 
46d4978
+# For compatibility, the pattern "^COLOR.*none" is recognized as a way to
46d4978
+# disable colorization.  See https://bugzilla.redhat.com/1349579 for details.
46d4978
+
43d181c
 # ===================================================================
43d181c
 # Terminal filters
43d181c
 # ===================================================================
43d181c
@@ -59,17 +68,17 @@ TERM xterm*
46d4978
 #NORMAL 00	# no color code at all
46d4978
 #FILE 00	# regular file: use no color at all
46d4978
 RESET 0		# reset to "normal" color
46d4978
-DIR 01;34	# directory
46d4978
-LINK 01;36	# symbolic link.  (If you set this to 'target' instead of a
46d4978
+DIR 00;34	# directory
46d4978
+LINK 00;36	# symbolic link.  (If you set this to 'target' instead of a
46d4978
                 # numerical value, the color is as for the file pointed to.)
46d4978
 MULTIHARDLINK 00	# regular file with more than one link
46d4978
 FIFO 40;33	# pipe
46d4978
-SOCK 01;35	# socket
46d4978
-DOOR 01;35	# door
46d4978
+SOCK 00;35	# socket
46d4978
+DOOR 00;35	# door
46d4978
 BLK 40;33;01	# block device driver
46d4978
 CHR 40;33;01	# character device driver
46d4978
 ORPHAN 40;31;01 # symlink to nonexistent file, or non-stat'able file ...
46d4978
-MISSING 00      # ... and the files they point to
46d4978
+MISSING 01;37;41 # ... and the files they point to
46d4978
 SETUID 37;41	# file that is setuid (u+s)
46d4978
 SETGID 30;43	# file that is setgid (g+s)
9325dbb
 CAPABILITY 00	# file with capability (very expensive to lookup)
43d181c
@@ -78,7 +87,7 @@ OTHER_WRITABLE 34;42 # dir that is other-writable (o+w) and not sticky
46d4978
 STICKY 37;44	# dir with the sticky bit set (+t) and not other-writable
46d4978
 
46d4978
 # This is for files with execute permission:
46d4978
-EXEC 01;32
46d4978
+EXEC 00;32
46d4978
 
43d181c
 # ===================================================================
43d181c
 # File extension attributes
46d4978
-- 
9325dbb
2.34.1
46d4978