Skip to content
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

Add --dots-first option to sort dot-files and dot-folders first #613

Open
1 of 5 tasks
dmitrykok opened this issue Apr 29, 2024 · 2 comments
Open
1 of 5 tasks

Add --dots-first option to sort dot-files and dot-folders first #613

dmitrykok opened this issue Apr 29, 2024 · 2 comments

Comments

@dmitrykok
Copy link

dmitrykok commented Apr 29, 2024

Description

directory and file names started with '.' - dot symbol, not listed first.
I want to add --dots-first option to sort dot-files and dot-folders first

  • Relevant Issues : (none)
  • Relevant PRs : (none)
  • Type of issue :
    • Feature request
    • Installation
    • Font-related
    • Bug in existing feature
    • Developer mode : Code quality / Tests / Documentation
@dmitrykok
Copy link
Author

How to assign this issue to me ?

@dmitrykok
Copy link
Author

I implemented it already and tested, need permission to commit new branch and assign this issue to me


sorting options:

        --sd, --sort-dirs, --group-directories-first
                                     sort directories first
        --sf, --sort-files           sort files first
        --df, --dots-first           sort dot-files and dot-folders first
    -t                               sort by modification time, newest first
    -U                               do not sort; list entries in directory order
    -S                               sort by file size, largest first
    -X                               sort by file extension
        --sort=WORD                  sort by WORD instead of name: none, size (-S), time (-t), extension (-X), df (--df)
    -r, --reverse                    reverse order while sorting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant