diff options
author | Kamil Dudka <kdudka@redhat.com> | 2009-03-24 12:16:20 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2009-03-24 16:11:00 +0000 |
commit | 2827bb5704a153a0b4ac9c4af8b83ed015012f68 (patch) | |
tree | e22a1019643c9de53f2e20af99edc07ee1d47ebb /NEWS | |
parent | d1df6ef183a651c82b719c3eef6f81b899109a7e (diff) | |
download | coreutils-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-- | NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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] |