-
-
Notifications
You must be signed in to change notification settings - Fork 661
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow putting directories on top #27
Comments
If ls does it, there's no reason why exa shouldn't. |
Awesome, thanks :-). What's the general approach with ls-compatibility? Some of the options are already different: Are you shooting for a similar feature set (but nicer defaults and new stuff like the git support) but possibly different options? Or is it more of a case-by-case thing? |
It's more the former, but there will be things I'll have to decide on a case-by-case basis. In a way, I'm thinking: if it were up to me to write ls, how would I write it? I would have used prefixes by default, since that's what you want >99% of the time - which just happens to free up Just because |
ls
has the--group-directories-first
option which prints the directories first (sorted by name) and files after:vs.
Could something like this be added to
exa
? It would probably have to be a separate switch (since you can only have a single sort, but putting directories first is orthogonal to e.g. sorting by an extension).The text was updated successfully, but these errors were encountered: