[coreutils] ls: remove the default brown coloring of documents

Pádraig Brady pbrady at fedoraproject.org
Wed Jul 18 17:03:02 UTC 2012


commit 28e1367cfe9615edc3a90e8b3bd22b53f1126d21
Author: Pádraig Brady <P at draigBrady.com>
Date:   Wed Jul 18 17:52:03 2012 +0100

    ls: remove the default brown coloring of documents
    
    We leave the list commented out to ease configuration
    for those who want this.
    
    There were two main reasons for removing this default coloring:
    
    1. There are many text file extensions and text files without
    extensions. You couldn't hope to cover them all, and only
    covering a subset introduces inconsistency.
    
    2. Greatly increasing the amount of coloring for these very common
    text files, reduces the "highlighting" effect of coloring in general.

 coreutils-DIR_COLORS              |   54 +++++++++++++++++++-----------------
 coreutils-DIR_COLORS.256color     |   54 +++++++++++++++++++-----------------
 coreutils-DIR_COLORS.lightbgcolor |   54 +++++++++++++++++++-----------------
 3 files changed, 84 insertions(+), 78 deletions(-)
---
diff --git a/coreutils-DIR_COLORS b/coreutils-DIR_COLORS
index 9c182c8..5683e39 100644
--- a/coreutils-DIR_COLORS
+++ b/coreutils-DIR_COLORS
@@ -218,29 +218,31 @@ EXEC 01;32
 .spx 01;36
 .xspf 01;36
 
-# colorize basic documents (brown)
-.pdf 00;33
-.ps 00;33
-.ps.gz 00;33
-.txt 00;33
-.patch 00;33
-.diff 00;33
-.log 00;33
-.tex 00;33
-.xls 00;33
-.xlsx 00;33
-.ppt 00;33
-.pptx 00;33
-.rtf 00;33
-.doc 00;33
-.docx 00;33
-.odt 00;33
-.ods 00;33
-.odp 00;33
-.xml 00;33
-.epub 00;33
-.abw 00;33
-.htm 00;33
-.html 00;33
-.shtml 00;33
-.wpd 00;33
+# colorize binary documents (brown)
+#.pdf 00;33
+#.ps 00;33
+#.ps.gz 00;33
+#.tex 00;33
+#.xls 00;33
+#.xlsx 00;33
+#.ppt 00;33
+#.pptx 00;33
+#.rtf 00;33
+#.doc 00;33
+#.docx 00;33
+#.odt 00;33
+#.ods 00;33
+#.odp 00;33
+#.epub 00;33
+#.abw 00;33
+#.wpd 00;33
+#
+# colorize text documents (brown)
+#.txt 00;33
+#.patch 00;33
+#.diff 00;33
+#.log 00;33
+#.htm 00;33
+#.html 00;33
+#.shtml 00;33
+#.xml 00;33
diff --git a/coreutils-DIR_COLORS.256color b/coreutils-DIR_COLORS.256color
index 1037dd5..14e27d4 100644
--- a/coreutils-DIR_COLORS.256color
+++ b/coreutils-DIR_COLORS.256color
@@ -191,29 +191,31 @@ EXEC 38;5;34
 .spx 38;5;45
 .xspf 38;5;45
 
-# colorize basic documents as well (brown)
-.pdf 00;33
-.ps 00;33
-.ps.gz 00;33
-.txt 00;33
-.patch 00;33
-.diff 00;33
-.log 00;33
-.tex 00;33
-.xls 00;33
-.xlsx 00;33
-.ppt 00;33
-.pptx 00;33
-.rtf 00;33
-.doc 00;33
-.docx 00;33
-.odt 00;33
-.ods 00;33
-.odp 00;33
-.xml 00;33
-.epub 00;33
-.abw 00;33
-.htm 00;33
-.html 00;33
-.shtml 00;33
-.wpd 00;33
+# colorize binary documents (brown)
+#.pdf 00;33
+#.ps 00;33
+#.ps.gz 00;33
+#.tex 00;33
+#.xls 00;33
+#.xlsx 00;33
+#.ppt 00;33
+#.pptx 00;33
+#.rtf 00;33
+#.doc 00;33
+#.docx 00;33
+#.odt 00;33
+#.ods 00;33
+#.odp 00;33
+#.epub 00;33
+#.abw 00;33
+#.wpd 00;33
+#
+# colorize text documents (brown)
+#.txt 00;33
+#.patch 00;33
+#.diff 00;33
+#.log 00;33
+#.htm 00;33
+#.html 00;33
+#.shtml 00;33
+#.xml 00;33
diff --git a/coreutils-DIR_COLORS.lightbgcolor b/coreutils-DIR_COLORS.lightbgcolor
index 4456a8c..ac46288 100644
--- a/coreutils-DIR_COLORS.lightbgcolor
+++ b/coreutils-DIR_COLORS.lightbgcolor
@@ -194,29 +194,31 @@ EXEC 00;32
 .spx 00;36
 .xspf 00;36
 
-# colorize basic documents (brown)
-.pdf 00;33
-.ps 00;33
-.ps.gz 00;33
-.txt 00;33
-.patch 00;33
-.diff 00;33
-.log 00;33
-.tex 00;33
-.xls 00;33
-.xlsx 00;33
-.ppt 00;33
-.pptx 00;33
-.rtf 00;33
-.doc 00;33
-.docx 00;33
-.odt 00;33
-.ods 00;33
-.odp 00;33
-.xml 00;33
-.epub 00;33
-.abw 00;33
-.htm 00;33
-.html 00;33
-.shtml 00;33
-.wpd 00;33
+# colorize binary documents (brown)
+#.pdf 00;33
+#.ps 00;33
+#.ps.gz 00;33
+#.tex 00;33
+#.xls 00;33
+#.xlsx 00;33
+#.ppt 00;33
+#.pptx 00;33
+#.rtf 00;33
+#.doc 00;33
+#.docx 00;33
+#.odt 00;33
+#.ods 00;33
+#.odp 00;33
+#.epub 00;33
+#.abw 00;33
+#.wpd 00;33
+#
+# colorize text documents (brown)
+#.txt 00;33
+#.patch 00;33
+#.diff 00;33
+#.log 00;33
+#.htm 00;33
+#.html 00;33
+#.shtml 00;33
+#.xml 00;33


More information about the scm-commits mailing list