Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Sort order



* On Sat Dec 13, Bart Schaefer wrote:
> On Dec 13,  5:02pm, Jesper Holmberg wrote:
> }
> } I have these language settings in my environment:
> } 
> } LC_CTYPE=sv_SE
> } LC_COLLATE=sv_SE
> } 
> } However, zsh doesn't seem to respect these settings when doing a
> } menu-complete.

...

> However, none of this should apply to file names unless you're using
> default (compctl) completion, because compsys uses shell globbing to
> sort file matches and the globbing code _should_ be using locales.
> 
> If you give the command
> 
> 	print -l *
> 
> do you see the files in same order that "ls" displays them, or in the
> same order that menu completion offers them?

print -l * works fine:

% ls
lare  lere  låre
% print -l *
lare
lere
låre

So, print -l * gives the right order, but still menu-completion offers me
the order låre lare lere.

Jesper



Messages sorted by: Reverse Date, Date, Thread, Author