exa icon indicating copy to clipboard operation
exa copied to clipboard

Option to sort by full path

Open joliss opened this issue 3 years ago • 1 comments

Let's say I have three files, a/y, b/x, and b/z.

If I specify these files as arguments, exa sorts by base name, whereas ls sort by full name:

$ exa [ab]/*
b/x  a/y  b/z
$ ls [ab]/*
a/y  b/x  b/z

I find the sorting behavior of ls much more useful.

So I was wondering if it might make sense to add a sorting option to sort by full path, like fullpath and Fullpath. Perhaps this would be even a good default instead of name.

joliss avatar Feb 15 '22 17:02 joliss

I think #1030 should fix your problem, but I need to work on it again someday to be able to merge it, because sorting (at least in exa’s code right now) is tricky.

ariasuni avatar Mar 17 '22 20:03 ariasuni