[Top][All Lists]
[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: |
Peng Yu |
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 20:51:39 -0600 |
On Wed, Dec 30, 2009 at 8:47 PM, Eric Blake <address@hidden> 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?
- How to make the colors different for a symbol link pointing to a file and symbol link pointing to a dir?, Peng Yu, 2009/12/30
- Re: How to make the colors different for a symbol link pointing to a file and symbol link pointing to a dir?, Pádraig Brady, 2009/12/30
- Re: How to make the colors different for a symbol link pointing to a file and symbol link pointing to a dir?, Eric Blake, 2009/12/30
- Re: How to make the colors different for a symbol link pointing to a file and symbol link pointing to a dir?, Pádraig Brady, 2009/12/30
- Re: How to make the colors different for a symbol link pointing to a file and symbol link pointing to a dir?, Peng Yu, 2009/12/30
- Re: How to make the colors different for a symbol link pointing to a file and symbol link pointing to a dir?, Eric Blake, 2009/12/30
- Re: How to make the colors different for a symbol link pointing to a file and symbol link pointing to a dir?, Chris Jones, 2009/12/31
- Re: How to make the colors different for a symbol link pointing to a file and symbol link pointing to a dir?, Eric Blake, 2009/12/31
- Re: How to make the colors different for a symbol link pointing to a file and symbol link pointing to a dir?, Chris Jones, 2009/12/31
- Re: How to make the colors different for a symbol link pointing to a file and symbol link pointing to a dir?, Peng Yu, 2009/12/31
- dircolors "LINK target" bug?, Chris Jones, 2009/12/31
- Re: How to make the colors different for a symbol link pointing to a file and symbol link pointing to a dir?, Eric Blake, 2009/12/31