Skip to content

feat: don't consider "extensions" for directories when sorting #821

Open
@sdht0

Description

@sdht0
$ mkdir a b.m c.n d.m e ; touch f.txt g.png h.png

$ eza --group-directories-first                              
a  b.m  c.n  d.m  e  f.txt  g.png  h.png

$ eza --group-directories-first --sort=extension
a  e  b.m  d.m  c.n  g.png  h.png  f.txt

The directories are also being sorted by extension based on the dot in the names. even though directories don't have extensions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions