-
-
Notifications
You must be signed in to change notification settings - Fork 93
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
Ordering of files/folders #101
Comments
We can add such option. |
|
looks like the PR was closed without merge or comment? |
perhaps use the same command line switches that eza uses?? Allows users to easily switch or co-exist. here is the --sort option from the eza man page:
Valid sort fields are The modified sort field has the aliases Sort fields starting with a capital letter will sort uppercase before lowercase: |
Looking in the code there's a comment suggesting the files/folders come pre-ordered from the OS but the ordering seems strange.
It seems to be alphabetical, but with all capital letters being ranked higher than lower case letters..
Powershell in windows:
Bash in ubuntu (WSL2):
At least it's consistent but it might be nice to optionally allow internal sorting, making it case insensitive.
Just to add to this, I'd also prefer to see folders above files, but that's a nice-to-have
The text was updated successfully, but these errors were encountered: