eza
eza copied to clipboard
feat: Option to output `~` instead of home folder path in symlink destination
I'd like an option for symlink destinations to show ~ instead of the path to the home folder. I think this makes the output easier to read.
With many absolute symlinks that all point inside the home folder, eza --long output becomes very repetitive. When scanning the output, I notice that I basically ignore the first part of the symlink path.
In the meantime, I'm using this sed -E expression. It works with/without --long and tolerates --classify, --color, --hyperlink, and --icons.
s|(->.+)$HOME/|\1~/|