eza icon indicating copy to clipboard operation
eza copied to clipboard

feat: hide "-> /path/to/target" in symlinks

Open nerun opened this issue 8 months ago • 4 comments

Please, add an option to hide the target of symlinks but keeping colors, e.g.:

$ eza -l
lrwxrwxrwx    - nerun  7 jun 12:54 Images -> /mnt/data1/Images

to just:

$ eza -l --no-target-symlinks
lrwxrwxrwx    - nerun  7 jun 12:54 Images

or:

  • --symlinks-hide-targets
  • --symlinks-no-target
  • etc

nerun avatar Jul 06 '25 03:07 nerun

+1

ashrhmn avatar Jul 11 '25 19:07 ashrhmn

+1

MorquinDevlar avatar Aug 21 '25 08:08 MorquinDevlar

+1

cafkafk avatar Sep 06 '25 15:09 cafkafk

As a hacky workaround, run eza --grid --long, which hides symlink targets.

It also shows the long list in several columns, if your terminal is wide enough. Again, hacky, but export COLUMNS=80 takes care of that.

So either:

eza -lG
COLUMNS=80 eza -lG

harkabeeparolus avatar Oct 20 '25 11:10 harkabeeparolus