Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Sort order
- X-seq: zsh-users 6880
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh-users List <zsh-users@xxxxxxxxxx>
- Subject: Re: Sort order
- Date: Sat, 13 Dec 2003 19:15:27 +0000
- In-reply-to: <20031213160239.GT18859@xxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20031213160239.GT18859@xxxxxxxxxxxxxxxxxxxx>
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.
Unfortunately the completion code doesn't appear to make use of the
locale-specific sorting order. I suspect this is because in some
locales the ordering is not strictly defined, and the completion
code must have a strict ordering for duplicate match detection. Or
it may just be an oversight.
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?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author