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

Add support for ln=target #11

Closed
sharkdp opened this issue Jan 20, 2019 · 1 comment
Closed

Add support for ln=target #11

sharkdp opened this issue Jan 20, 2019 · 1 comment
Labels
wontfix This will not be worked on

Comments

@sharkdp
Copy link
Owner

sharkdp commented Jan 20, 2019

Quoting from the ls source code:

/* When true, in a color listing, color each symlink name according to the
   type of file it points to.  Otherwise, color them according to the 'ln'
   directive in LS_COLORS.  Dangling (orphan) symlinks are treated specially,
   regardless.  This is set when 'ln=target' appears in LS_COLORS.  */

static bool color_symlink_as_referent;
@sharkdp sharkdp added the wontfix This will not be worked on label Jan 20, 2019
@sharkdp
Copy link
Owner Author

sharkdp commented Jan 20, 2019

Closing this as "wont fix". We would have to call metadata in addition to symlink_metadata in order to support this. This is not compatible with the current API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant