From: Jesper Holmberg <jesperh@dsv.su.se>
To: Zsh-users List <zsh-users@sunsite.dk>
Subject: Sort order
Date: Sat, 13 Dec 2003 17:02:39 +0100 [thread overview]
Message-ID: <20031213160239.GT18859@strindberg.dsv.su.se> (raw)
I have these language settings in my environment:
LC_CTYPE=sv_SE
LC_COLLATE=sv_SE
1. One effect of these settings is that capital and non-capital letters
are sorted together in an ls-listing.
If I have these files:
fale1.txt File1.txt
and do an ls, they will be listed in the above order.
2. Another effect is that ls knows how to sort Swedish characters. The files
lare lere låre
are sorted in that order when doing an ls, which is the correct one.
However, zsh doesn't seem to respect these settings when doing a
menu-complete. In example 1, if I write:
cat <tab>
zsh will suggest:
File1.txt before fale1.txt
In example 2, zsh will suggest the files in the order:
låre lare lere
This sometimes makes me choose the wrong file, as I expect the completions
in the same order as they were when I listed them with ls.
Is it possible to acheive the same behavior in menu-completion?
Jesper
This is zsh 4.1.1 under Debian
next reply other threads:[~2003-12-13 16:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-13 16:02 Jesper Holmberg [this message]
2003-12-13 19:15 ` Bart Schaefer
2003-12-13 23:23 ` Jesper Holmberg
2003-12-15 18:08 ` Bart Schaefer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20031213160239.GT18859@strindberg.dsv.su.se \
--to=jesperh@dsv.su.se \
--cc=zsh-users@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).