In the locales that I've checked (
en_US.UTF-8) dot (".") is sorted after dash ("-"). When I
cd and complete directory say "som", then
some-dir.git is completed before
some.git. I also list themes for my project and file
zdharma-256.theme is globbed before
zdharma.theme. A natural order for me is that the shorter directory is completed first.
Is there a
LC_COLLATE that I could use to fix this?
Maybe it's not a collate problem, but problem of ignoring extension in first pass of sorting? Is there
Zsh code (globbing flags, etc.) that I could use?