From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12748 invoked from network); 13 Dec 2003 16:05:20 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 13 Dec 2003 16:05:20 -0000 Received: (qmail 23650 invoked by alias); 13 Dec 2003 16:05:05 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6878 Received: (qmail 23612 invoked from network); 13 Dec 2003 16:05:04 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 13 Dec 2003 16:05:04 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [130.238.4.143] by sunsite.dk (MessageWall 1.0.8) with SMTP; 13 Dec 2003 16:5:4 -0000 Received: by elanus.its.uu.se (Postfix, from userid 204) id 160A949A3; Sat, 13 Dec 2003 17:05:01 +0100 (NFT) Received: from elanus.its.uu.se(127.0.0.1) by elanus.its.uu.se via virus-scan id s20669; Sat, 13 Dec 03 17:03:45 +0100 Received: from localhost (NL04-165-13.STUDENT.UU.SE [10.11.165.13]) by elanus.its.uu.se (Postfix) with ESMTP id A7D174A58 for ; Sat, 13 Dec 2003 17:03:38 +0100 (NFT) Received: from jesper by localhost with local (Exim 4.24) id 1AVCE3-00019d-Kp for zsh-users@sunsite.dk; Sat, 13 Dec 2003 17:02:39 +0100 Date: Sat, 13 Dec 2003 17:02:39 +0100 From: Jesper Holmberg To: Zsh-users List Subject: Sort order Message-ID: <20031213160239.GT18859@strindberg.dsv.su.se> Mail-Followup-To: Zsh-users List Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.5.4i 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 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