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

Symbolic links for folders and files share the same icon #957

Closed
DeeGeeMan opened this issue Oct 6, 2022 · 2 comments
Closed

Symbolic links for folders and files share the same icon #957

DeeGeeMan opened this issue Oct 6, 2022 · 2 comments

Comments

@DeeGeeMan
Copy link

There should be different symlink icons for folders and files in lf. A folder in lf is showing a file symlink icon which is confusing, Ranger shows two distinct icons for symlinks.

@ghost
Copy link

ghost commented Oct 24, 2022

You actually don't need an icon. lf colors symlinks as green. And status bar even shows the pointer location when you're on it.
Also, you can distinguish between a file symlink & folder symlink easily, caz folders listed before files bydefault.

@joelim-work
Copy link
Collaborator

Added in #1644. To show icons based on the symbolic link target, use target instead of an actual icon like below:

icons file:

ln	target
di	d
fi	f

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