Skip to content

Revert "Fix: sorts completion candidates to present a stable, predictable list"#566

Merged
Aloxaf merged 1 commit intoAloxaf:masterfrom
lishaduck:revert-557-stable-order-across-locales
Mar 14, 2026
Merged

Revert "Fix: sorts completion candidates to present a stable, predictable list"#566
Aloxaf merged 1 commit intoAloxaf:masterfrom
lishaduck:revert-557-stable-order-across-locales

Conversation

@lishaduck
Copy link
Copy Markdown
Contributor

Reverts #557

#557 changes the sorting to be purely lexicographic instead of using a natural, case-insensitive sort on systems.
That PR seems well meaning, but, if a locale is changed, that's usually intentional and shouldn't be tampered with outside of tests or external artifacts. fzf-tab is a UI, and should respect the set locale.

Before (current, post-#557 behavior)

Screenshot 2026-03-12 at 10 47 29 PM

After (previous behavior)

Screenshot 2026-03-12 at 10 47 13 PM

CC @Aloxaf :)

@Aloxaf Aloxaf merged commit 416eeeb into Aloxaf:master Mar 14, 2026
@Aloxaf
Copy link
Copy Markdown
Owner

Aloxaf commented Mar 14, 2026

Thanks for pointing that out.
I didn't expect it to cause such a significant change in the sorting results.

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.

2 participants