exa
exa copied to clipboard
Provide option to disable grid output (like `--no-grid` etc)
Currently I'm using exa
as my ls
through alias:
$ type ls
ls is aliased to `exa \
--long \
--grid \
--group \
--bytes \
--classify \
--group-directories-first \
--git'
As you can see, I'm using "long grid" output mode by default. This is very useful, but it has a drawback: symbolic links aren't dereferenced in "grid" mode. Sometimes is is useful to quickly look at link targets without too much typing, so it would be handy to have a counter-part option for disabling grid mode. So it can be just appended to all this aliased command line without re-typing all desired options:
$ ls --no-grid
will result in
exa --long --grid <...bunch of other useful options...> --no-grid
As this "no-grid" option goes after --grid
, it just takes precedence and turns "grid" output off.
+1 and please add a similar flag for --no-group! Currently if an alias adds the group
column, there is no way to remove it!