Make piping Exa's output leave out the icons if you added --icons.
Oglo12 opened this issue · 2 comments
Oglo12 commented
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:
eggbean commented
Yes, it even adds icons with the -1
switch, which is a bad oversight. I don't use --icons
myself.
kirill-lappo-dg7 commented
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.