Skip to content

Respect locale for sorting#1212

Open
JamesClonk wants to merge 4 commits into
lsd-rs:mainfrom
JamesClonk:respect-locale
Open

Respect locale for sorting#1212
JamesClonk wants to merge 4 commits into
lsd-rs:mainfrom
JamesClonk:respect-locale

Conversation

@JamesClonk
Copy link
Copy Markdown

This PR adds a new config option for sorting names while respecting locale settings. When enabled lsd will sort files identically to GNU ls, especially regarding with leading dots / hidden files.
See discussioned where it was mentioned before:


  • Use cargo fmt
  • Add necessary tests
  • Update config sample file in doc/samples (if applicable)
  • Update man page at lsd/doc/lsd.md (if applicable)

JamesClonk added 4 commits May 9, 2026 19:35
Signed-off-by: Fabio Berchtold <[email protected]>
Signed-off-by: Fabio Berchtold <[email protected]>
Signed-off-by: Fabio Berchtold <[email protected]>
@JamesClonk JamesClonk requested a review from zwpaper as a code owner May 9, 2026 19:30
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

Successfully merging this pull request may close these issues.

1 participant