|
 |
04161d |
From 81e25c8521937ecf7f444bab11fddaaf81cc3efd Mon Sep 17 00:00:00 2001
|
|
 |
04161d |
From: Kamil Dudka <kdudka@redhat.com>
|
|
 |
04161d |
Date: Fri, 17 Jun 2016 16:58:18 +0200
|
|
 |
04161d |
Subject: [PATCH] downstream changes to default DIR_COLORS
|
|
 |
04161d |
|
|
 |
04161d |
---
|
|
 |
04161d |
DIR_COLORS | 9 ++++++++-
|
|
 |
04161d |
DIR_COLORS.lightbgcolor | 21 +++++++++++++++------
|
|
 |
04161d |
2 files changed, 23 insertions(+), 7 deletions(-)
|
|
 |
04161d |
|
|
 |
04161d |
diff --git a/DIR_COLORS b/DIR_COLORS
|
|
 |
04161d |
index bd5df23..84f2417 100644
|
|
 |
04161d |
--- a/DIR_COLORS
|
|
 |
04161d |
+++ b/DIR_COLORS
|
|
 |
04161d |
@@ -1,3 +1,7 @@
|
|
 |
04161d |
+# This file goes in the /etc directory, and must be world readable.
|
|
 |
04161d |
+# You can copy this file to .dir_colors in your $HOME directory to override
|
|
 |
04161d |
+# the system defaults.
|
|
 |
04161d |
+
|
|
 |
04161d |
# Configuration file for dircolors, a utility to help you set the
|
|
 |
04161d |
# LS_COLORS environment variable used by GNU ls with the --color option.
|
|
 |
04161d |
|
|
 |
04161d |
@@ -8,6 +12,9 @@
|
|
 |
04161d |
# The keywords COLOR, OPTIONS, and EIGHTBIT (honored by the
|
|
 |
04161d |
# slackware version of dircolors) are recognized but ignored.
|
|
 |
04161d |
|
|
 |
04161d |
+# For compatibility, the pattern "^COLOR.*none" is recognized as a way to
|
|
 |
04161d |
+# disable colorization. See https://bugzilla.redhat.com/1349579 for details.
|
|
 |
04161d |
+
|
|
 |
04161d |
# Below are TERM entries, which can be a glob patterns, to match
|
|
 |
04161d |
# against the TERM environment variable to determine if it is colorizable.
|
|
 |
04161d |
TERM Eterm
|
|
 |
04161d |
@@ -58,7 +65,7 @@ DOOR 01;35 # door
|
|
 |
04161d |
BLK 40;33;01 # block device driver
|
|
 |
04161d |
CHR 40;33;01 # character device driver
|
|
 |
04161d |
ORPHAN 40;31;01 # symlink to nonexistent file, or non-stat'able file ...
|
|
 |
04161d |
-MISSING 00 # ... and the files they point to
|
|
 |
04161d |
+MISSING 01;37;41 # ... and the files they point to
|
|
 |
04161d |
SETUID 37;41 # file that is setuid (u+s)
|
|
 |
04161d |
SETGID 30;43 # file that is setgid (g+s)
|
|
 |
04161d |
CAPABILITY 30;41 # file with capability
|
|
 |
04161d |
diff --git a/DIR_COLORS.lightbgcolor b/DIR_COLORS.lightbgcolor
|
|
 |
04161d |
index 4316832..6402854 100644
|
|
 |
04161d |
--- a/DIR_COLORS.lightbgcolor
|
|
 |
04161d |
+++ b/DIR_COLORS.lightbgcolor
|
|
 |
04161d |
@@ -1,3 +1,9 @@
|
|
 |
04161d |
+# Configuration file for the color ls utility - modified for lighter backgrounds
|
|
 |
04161d |
+
|
|
 |
04161d |
+# This file goes in the /etc directory, and must be world readable.
|
|
 |
04161d |
+# You can copy this file to .dir_colors in your $HOME directory to override
|
|
 |
04161d |
+# the system defaults.
|
|
 |
04161d |
+
|
|
 |
04161d |
# Configuration file for dircolors, a utility to help you set the
|
|
 |
04161d |
# LS_COLORS environment variable used by GNU ls with the --color option.
|
|
 |
04161d |
|
|
 |
04161d |
@@ -8,6 +14,9 @@
|
|
 |
04161d |
# The keywords COLOR, OPTIONS, and EIGHTBIT (honored by the
|
|
 |
04161d |
# slackware version of dircolors) are recognized but ignored.
|
|
 |
04161d |
|
|
 |
04161d |
+# For compatibility, the pattern "^COLOR.*none" is recognized as a way to
|
|
 |
04161d |
+# disable colorization. See https://bugzilla.redhat.com/1349579 for details.
|
|
 |
04161d |
+
|
|
 |
04161d |
# Below are TERM entries, which can be a glob patterns, to match
|
|
 |
04161d |
# against the TERM environment variable to determine if it is colorizable.
|
|
 |
04161d |
TERM Eterm
|
|
 |
04161d |
@@ -48,17 +57,17 @@ TERM xterm*
|
|
 |
04161d |
#NORMAL 00 # no color code at all
|
|
 |
04161d |
#FILE 00 # regular file: use no color at all
|
|
 |
04161d |
RESET 0 # reset to "normal" color
|
|
 |
04161d |
-DIR 01;34 # directory
|
|
 |
04161d |
-LINK 01;36 # symbolic link. (If you set this to 'target' instead of a
|
|
 |
04161d |
+DIR 00;34 # directory
|
|
 |
04161d |
+LINK 00;36 # symbolic link. (If you set this to 'target' instead of a
|
|
 |
04161d |
# numerical value, the color is as for the file pointed to.)
|
|
 |
04161d |
MULTIHARDLINK 00 # regular file with more than one link
|
|
 |
04161d |
FIFO 40;33 # pipe
|
|
 |
04161d |
-SOCK 01;35 # socket
|
|
 |
04161d |
-DOOR 01;35 # door
|
|
 |
04161d |
+SOCK 00;35 # socket
|
|
 |
04161d |
+DOOR 00;35 # door
|
|
 |
04161d |
BLK 40;33;01 # block device driver
|
|
 |
04161d |
CHR 40;33;01 # character device driver
|
|
 |
04161d |
ORPHAN 40;31;01 # symlink to nonexistent file, or non-stat'able file ...
|
|
 |
04161d |
-MISSING 00 # ... and the files they point to
|
|
 |
04161d |
+MISSING 01;37;41 # ... and the files they point to
|
|
 |
04161d |
SETUID 37;41 # file that is setuid (u+s)
|
|
 |
04161d |
SETGID 30;43 # file that is setgid (g+s)
|
|
 |
04161d |
CAPABILITY 30;41 # file with capability
|
|
 |
04161d |
@@ -67,7 +76,7 @@ OTHER_WRITABLE 34;42 # dir that is other-writable (o+w) and not sticky
|
|
 |
04161d |
STICKY 37;44 # dir with the sticky bit set (+t) and not other-writable
|
|
 |
04161d |
|
|
 |
04161d |
# This is for files with execute permission:
|
|
 |
04161d |
-EXEC 01;32
|
|
 |
04161d |
+EXEC 00;32
|
|
 |
04161d |
|
|
 |
04161d |
# List any file extensions like '.gz' or '.tar' that you would like ls
|
|
 |
04161d |
# to colorize below. Put the extension, a space, and the color init string.
|
|
 |
04161d |
--
|
|
 |
04161d |
2.21.1
|
|
 |
04161d |
|