-----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? - -- Don't work too hard, make some time for fun as well! Eric Blake [email protected] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAks8EL8ACgkQ84KuGfSFAYCVYACfXH7AsSCbbLAcZ8aRwA96Ki3V ahQAoKhylEz+oRs9zmGchdVilSm0VIrh =chlj -----END PGP SIGNATURE-----
