exa icon indicating copy to clipboard operation
exa copied to clipboard

Provide option to disable grid output (like `--no-grid` etc)

Open tribals opened this issue 3 years ago • 1 comments

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.

tribals avatar Oct 23 '21 21:10 tribals

+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!

faelin avatar Apr 19 '22 16:04 faelin