On Wed, Dec 30, 2009 at 8:47 PM, Eric Blake <[email protected]> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > According to Peng Yu on 12/30/2009 7:30 PM: >> Use dircolors (as in adding the line: >> >> eval "`dircolors path/to/preferences`" >> >>> http://linux.die.net/man/5/dir_colors >> >>> According to the above page, can I put the line 'LINK target' in >>> ~/.dir_colors without calling eval "`dircolors path/to/preferences`" >>> in the profile? > > If your particular distro set things up so that ~/.dir_colors is sourced > automatically, then yes. But that is something your distro did, and not > upstream coreutils, so I can't tell you a definitive answer. > >> >>> I don't want the color of the link the same as the color of the >>> target. I want the color of the link that points to a file different >>> from the color of the link that points to a dir. I still want to tell >>> that they are links, so I can not use the same color as their targets. > > Then that is probably a feature request that has not yet been implemented. > Would you like to try your hand at coding it?
Do you mean that I modify the source code of coreutils? I'd like to take a look at it. Would you please let me know which files might be relevant?
