exa
exa copied to clipboard
Make piping Exa's output leave out the icons if you added --icons.
Hello, I have Exa aliased to ls, but I can't help but be bothered that piping exa --icons
to another program includes the icons! I know that there is a way to fix this, after all, there is another Rust program called Bat that does this. Anyway, it would be really nice to have this fixed!
Example when piping into FZF:
Yes, it even adds icons with the -1
switch, which is a bad oversight. I don't use --icons
myself.
I think it would be better to make --icons
option work the same as --color
option.
For ex:
--colo[u]r=WHEN when to use terminal colours (always, auto, never)
--icons=WHEN when to use icons (always, auto, never)
To make it compatible, auto
can be a default value when just --icons
is specified.