exa
exa copied to clipboard
Glob with "or" syntax isn't parsed for LS_COLORS
exa doesn't appear to parse an "or" in a glob for the LS_COLOR env variable. I've tried it both using the syntax of ignoring files:
LS_COLORS="*.zip|*.rar=38;2;180;81;87"
as well as the more traditional glob format:
LS_COLORS="{*.rar,*.zip}=38;2;180;81;87"
In both cases it results in the glob not matching anything.
Does ls
really support that? Is this something specific to GNU ls
or some other ls
? I’m not sure we want to handle specific or advanced use cases for LS_COLORS
, since there are ways to generate compatible LS_COLORS
and that we’ll probably add a configuration file at some point to make this type of configuration easier.