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

exa follows symlinks specified on command-line, except with -T option #549

Open
lilyball opened this issue Jul 27, 2019 · 0 comments
Open

Comments

@lilyball
Copy link
Contributor

By default, without the -d flag exa appears to follow symlinks specified on the command-line (like ls -H does). This seems reasonable to me.

However, when adding the -T flag, exa stops doing this. What's more, if the symlink points to another symlink, exa -T link/ (to try and list its contents) lists the link name as pointing to the indirect path. For example, given the following listing:

lrwxr-xr-x 5 lily 27 Jul 14:04 link -> link2
lrwxr-xr-x 4 lily 27 Jul 14:04 link2 -> test
drwxr-xr-x - lily 27 Jul 14:04 test/

I observe the following behavior:

> exa link
contents-of-test
> exa -T link
link -> link2
> exa -T link2
link2 -> test
> exa -T link/
link -> test

FWIW ls (without the -H flag) has similar behavior in the final case, except it lists link/ -> test instead, which is better in that I can tell it's showing something that's not necessarily the same as the contents of link itself.

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

1 participant