summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorKamil Dudka <kdudka@redhat.com>2009-03-24 12:16:20 +0100
committerPádraig Brady <P@draigBrady.com>2009-03-24 16:11:00 +0000
commit2827bb5704a153a0b4ac9c4af8b83ed015012f68 (patch)
treee22a1019643c9de53f2e20af99edc07ee1d47ebb /NEWS
parentd1df6ef183a651c82b719c3eef6f81b899109a7e (diff)
downloadcoreutils-2827bb5704a153a0b4ac9c4af8b83ed015012f68.tar.xz
ls: make it possible to disable coloring of hard links
* src/ls.c (print_color_indicator): Don't color hard links if disabled (when there is an empty hl= in the LS_COLORS environment variable). * tests/ls/hardlink: Add test case for disabled hard link highlighting. * NEWS: Mention the change.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 766f2716b..bb7999426 100644
--- a/NEWS
+++ b/NEWS
@@ -38,6 +38,10 @@ GNU coreutils NEWS -*- outline -*-
cp -a now tries to preserve extended attributes (xattr), but does not
diagnose xattr-preservation failure. However, cp --preserve=all still does.
+ ls --color: hard link highlighting can be now disabled by changing the
+ LS_COLORS environment variable. To disable it you can add something like
+ this to your profile: eval `dircolors | sed s/hl=[^:]*:/hl=:/`
+
* Noteworthy changes in release 7.1 (2009-02-21) [stable]