[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Suggestion: try ~/.dircolors

From: Reuben Thomas
Subject: Re: Suggestion: try ~/.dircolors
Date: Tue, 22 Jul 2008 23:32:17 +0100 (BST)
User-agent: Alpine 1.00 (DEB 882 2007-12-20)

On Sat, 19 Jul 2008, Jim Meyering wrote:

Reuben Thomas <address@hidden> wrote:
On Sat, 19 Jul 2008, Jim Meyering wrote:
Reuben Thomas <address@hidden> wrote:
It would both be logical, and help with testing (where one wouldn't
have to change one's login script) if dircolors tried to load
~/.dircolors if no database is given and the file exists.

Or just put this in your start-up script:

 test -r $d && eval "$(dircolors $d)"

That's fine, but, as always, good default behaviour is worth a hundred
times as much as configuration: it doesn't need a user to work it out,
read your mailing list message, or anything else. On the other hand,
you could improve the differential by putting the above tip in the
dircolors documentation.

Would you like to prepare a patch that adds to doc/coreutils.texi
the sort of tip you would have liked to see?

If so, contribution guidelines are here:


Patch attached. I imagine I got something wrong, as I've not tried before (but I *have* signed a copyright assignment for coreutils, if that's needed), so do tell me what to fix.

http://rrt.sc3d.org/ | secret, n.  what all know but none speaks

Attachment: DIFF
Description: Text document

reply via email to

[Prev in Thread] Current Thread [Next in Thread]