colorls icon indicating copy to clipboard operation
colorls copied to clipboard

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

Open dm17ryk opened this issue 1 year ago • 2 comments

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 :
    • [x] Feature request
    • [ ] Installation
    • [ ] Font-related
    • [ ] Bug in existing feature
    • [ ] Developer mode : Code quality / Tests / Documentation

dm17ryk avatar Apr 29 '24 08:04 dm17ryk

How to assign this issue to me ?

dm17ryk avatar Apr 29 '24 08:04 dm17ryk

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

dm17ryk avatar Apr 29 '24 10:04 dm17ryk