From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1613 invoked from network); 22 Mar 2004 16:06:59 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 22 Mar 2004 16:06:59 -0000 Received: (qmail 1612 invoked by alias); 22 Mar 2004 16:06:41 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7229 Received: (qmail 1600 invoked from network); 22 Mar 2004 16:06:40 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 22 Mar 2004 16:06:40 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [130.225.247.86] by sunsite.dk (MessageWall 1.0.8) with SMTP; 22 Mar 2004 16:6:40 -0000 Received: (qmail 6560 invoked from network); 22 Mar 2004 16:06:39 -0000 Received: from unknown (HELO lonximss01.ctxuk.citrix.com) (195.153.38.121) by a.mx.sunsite.dk with SMTP; 22 Mar 2004 16:06:37 -0000 Received: from LONPEXCH5IM01.ctxuk.citrix.com ([10.30.224.191]) by lonximss0 1 with trend_isnt_name_B; Mon, 22 Mar 2004 16:08:08 -0000 Received: by lonpexch5im01.ctxuk.citrix.com with Internet Mail Service (5.5. 2656.59)id ; Mon, 22 Mar 2004 16:06:20 -0000 Message-ID: From: John Cooper To: John Cooper , "'zsh-users@sunsite.dk'" Subject: RE: Problem with case-insensitive completion with zsh compiled for cygwin Date: Mon, 22 Mar 2004 16:06:29 -0000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2656.59) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C41027.A24369F4" X-imss-version: 2.0 X-imss-result: Passed X-imss-scores: Baseline:8.3128 C:20 M:1 S:5 R:5 X-imss-settings: Clean:4 C:4 M:4 S:4 R:1 (0.1000 0.4000) X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: *** X-Spam-Status: No, hits=3.5 required=6.0 tests=FORGED_MUA_IMS,HTML_40_50, HTML_FONTCOLOR_BLUE,HTML_MESSAGE,INVALID_MSGID autolearn=no version=2.63 X-Spam-Hits: 3.5 ------_=_NextPart_001_01C41027.A24369F4 Content-Type: text/plain I just noticed a typo in my problem description below. I meant to say: if I `cd' to c:/ then both the following work: $ ls WIN completes to WINDOWS/ $ ls win completes to WINDOWS/ That is, it works when not using the drive letter as the path prefix. I've also checked the same problem arises after `zsh -f' and running the following: zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}' autoload -U compinit compinit -C I've also just noticed that these work: $ ls C:/WIN completes to C:/WINDOWS/ $ ls C:/win completes to C:/WINDOWS/ .. but these fail: $ ls c:/WIN $ ls c:/win That is, the completion works when the drive letter is uppercase, but not when it is lowercase. --- John > _____________________________________________ > From: John Cooper > Sent: 22 March 2004 10:14 > To: zsh-users@sunsite.dk > Cc: John Cooper > Subject: Problem with case-insensitive completion with zsh compiled > for cygwin > > [I'm using zsh 4.2.0, compiled under a recent cygwin.] > > By default I am able to complete files using the drive letter as a prefix, > e.g., > $ ls c:/WIN completes to c:/WINDOWS/ > > However, if I enable case insensitive completion with the following: > > zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}' > > .. Then completion on paths starting with a drive letter no longer works: > $ ls c:/WIN fails to complete > > However, if I `cd' to c:/ then both the following work: > > $ ls c:/WIN completes to c:/WINDOWS/ > $ ls c:/win completes to c:/WINDOWS/ > > Any idea how to get this working again when the path starts with a drive > letter? > > > Thanks, > > --- John > ------_=_NextPart_001_01C41027.A24369F4--