ogham / exa

A modern replacement for ‘ls’.
https://the.exa.website/
MIT License
23.51k stars 660 forks source link

make exa --tree more usable with symlinks #1200

Closed Janik-Haag closed 1 year ago

Janik-Haag commented 1 year ago

Currently I have exa --git --tree --icons as a alias for tree. And that works great with normal folders, but when working with symlinked folders tree ./result displays ./result -> /nix/store/rgckxqbb8asdyj0l66i6jrhwzqriahdf-labctl-0.0.15 and when doing tree ./result/ it displays what I actually want displayed:

./result
├──  bin
│  └──  labctl
└──  share
   ├──  bash-completion
   │  └──  completions
   │     └──  labctl.bash
   └──  zsh
      └──  site-functions
         └──  _labctl

I think that behavior makes sense when using exa like ls, but fell like there should be a edgecase for the --tree flag.

ariasuni commented 1 year ago

Closing this in favor of https://github.com/ogham/exa/issues/393