From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9155 invoked by alias); 7 Mar 2013 20:33:54 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 17678 Received: (qmail 19017 invoked from network); 7 Mar 2013 20:33:51 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, SPF_HELO_PASS autolearn=ham version=3.3.2 Received-SPF: pass (ns1.primenet.com.au: SPF record at m.gmane.org designates 80.91.229.3 as permitted sender) X-Injected-Via-Gmane: http://gmane.org/ To: zsh-users@zsh.org From: Thorsten Kampe Subject: Re: Slow completion Date: Thu, 7 Mar 2013 21:33:35 +0100 Message-ID: References: <130307080445.ZM12249@torch.brasslantern.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: ip-86-49-71-131.net.upcbroadband.cz User-Agent: MicroPlanet-Gravity/3.0.4 * Bart Schaefer (Thu, 07 Mar 2013 08:04:45 -0800) > I'm not a regular cygwin user (in fact it's probably been 15 years since > I even touched a box with cygwin, now that I think about it) so you'll > have to (a) forgive any inaccuracies and (b) remind me how it is that > "cadaver" gets into the "relative" completion list in the first place, > since it is not a file on disk. Not really sure about the "exe magic". I think Cygwin just adds it. Windows requires the .exe extension for the file itself but not for the invocation (PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC) > However, I think it's wrong to assert this is "inconsistent" completion. > You're not completing the same thing. I'm pretty sure "cada" is being > completed for the "path-commands" group, while /usr/bin/cada is in the > "executables" (executable file or directory) group. Okay, I got it. > It might be possible to get the effect of completion_strip_exe with a > matcher style, something like (though I don't think this works) > > zstyle ':completion:*:-command-:*' matcher \ > 'R:|.[eE][xX][eE]=.[eE][xX][eE]' Doesn't work but thanks for trying. Thorsten