The other way to configure exa is through environment variables.
Usually, if you want to change exa’s behaviour, you pass in a different command-line argument, or go to a different directory. Environment variables, on the other hand, are used to configure rarely-changed settings, override information usually provided by the OS, and change the way the command-line arguments are parsed.
You can run a one-off command with a different variable set by using the
Setting these variables permanently depends on your shell and OS, but will probably involve editing a configuration file.
Enables strict mode, which will make exa error when two command-line options are incompatible.
Usually, options can override each other going right-to-left on the command line. For example, the following command will sort by
size rather than
ext, because it’s the option specified second:
exa --sort=ext --sort=size
In strict mode, the two options will not co-operate, and exa will error.
This option is intended for use with automated scripts and other situations where you want to be certain you’re typing in the right command.
Limits the grid-details view (
exa --grid --long) so it’s only activated when at least the given number of rows of output would be generated.
When displaying a small directory on a widescreen monitor, it’s possible for the grid to look very wide and sparse, on just one or two lines with none of the columns lining up. By specifying a minimum number of rows, you can only use the view if it’s going to be worth using.