Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ln=target not working in LS_COLORS #774

Open
acdifran opened this issue Dec 23, 2020 · 1 comment
Open

ln=target not working in LS_COLORS #774

acdifran opened this issue Dec 23, 2020 · 1 comment

Comments

@acdifran
Copy link

acdifran commented Dec 23, 2020

version: 0.9.0
OS: macOS Big Sur 11.1

I'm using the LS_COLORS settings I've been using previously with "ls", which includes "ln=target" so that links are colored to match the target. However, this doesn't seem to work with exa.

You can see in the screenshot below that the color is correct for ls, but not for exa. Maybe this isn't inherently supported?

Screen Shot 2020-12-23 at 12 18 10 AM

@ariasuni
Copy link
Collaborator

I didn’t know it was possible to do this in GNU ls and it seems totally undocumented, but I can attest that’s indeed what ls does by looking at its source code. It is indeed not supported (yet).

LarsHaalck added a commit to LarsHaalck/exa that referenced this issue Sep 24, 2021
Setting "ln=target" highlights a link in the same color as the referred
file. Dangling/orphaned links are always colored using the specified
"or=" color.
LarsHaalck added a commit to LarsHaalck/exa that referenced this issue Sep 24, 2021
Setting "ln=target" highlights a link in the same color as the referred
file. Dangling/orphaned links are always colored using the specified
"or=" color.
LarsHaalck added a commit to LarsHaalck/exa that referenced this issue May 16, 2022
Setting "ln=target" highlights a link in the same color as the referred
file. Dangling/orphaned links are always colored using the specified
"or=" color.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants