bug-coreutils
[Top][All Lists]
Advanced

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

Re: How to make the colors different for a symbol link pointing to a fil


From: Eric Blake
Subject: Re: How to make the colors different for a symbol link pointing to a file and symbol link pointing to a dir?
Date: Wed, 30 Dec 2009 19:47:27 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666

-----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             address@hidden
-----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-----




reply via email to

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