From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28890 invoked from network); 25 Jul 2003 20:44:11 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 25 Jul 2003 20:44:11 -0000 Received: (qmail 11142 invoked by alias); 25 Jul 2003 20:43:56 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6409 Received: (qmail 11131 invoked from network); 25 Jul 2003 20:43:55 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 25 Jul 2003 20:43:55 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [136.237.60.105] by sunsite.dk (MessageWall 1.0.8) with SMTP; 25 Jul 2003 20:43:55 -0000 Received: from WS-USSV-50569-L.ad.sjm.com (WS-USSV-50569-L [150.202.178.128]) by ussvml03.ad.sjm.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id 34TW3WA5; Fri, 25 Jul 2003 13:43:56 -0700 Date: Fri, 25 Jul 2003 13:43:51 -0700 (Pacific Daylight Time) From: Jason Tiller To: Peter Stephenson cc: zsh-users@sunsite.dk Subject: Re: No path completion on Cygwin mounts? In-Reply-To: <11268.1059146910@csr.com> Message-ID: References: <11268.1059146910@csr.com> X-X-Sender: jtiller@imaps.proxy.fastmail.fm MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Hi, Peter, :) On Fri, 25 Jul 2003, Peter Stephenson wrote: > Jason Tiller wrote: > > However, I'm having trouble getting pathname completion to work on > > Cygwin mounts. > I'm afraid I haven't been able to get it to fail (I'm using 4.1.1). > None of your settings look weird. Well, I did a little work myself and discovered pretty rapidly that the issue is the 'compinit' call in my zshenv. I began walking through my startup file and when I started a shell that didn't make the call to 'compinit', then my completion worked fine (once I realized it was case-sensitive!). However, with a little more investigation, it seems that my call to 'zstyle' also affected the completion. Here are the lines from zshenv in question: # Configure the zsh completion system. autoload -U compinit compinit # Set some of my options. setopt CDABLE_VARS setopt AUTO_CD # Like 4DOS 'cd' without 'cd'! - *yes*!! setopt EXTENDED_GLOB # Cool stuff. # Make completion and file stuff insensitive. Wow, I have no idea how # this works. zstyle ":completion:*" matcher-list 'm:{A-Za-z}={a-zA-Z}' If I just comment-out the 'compinit' line and the 'zstyle' line, then completion works as I would expect, regardless of the mount. Any idea what might be happening here? BTW, this is Zsh 4.0.6 compiled for Cygwin, in case it wasn't obvious. Thanks! ---Jason