From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15046 invoked from network); 23 Mar 2004 16:24:47 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 23 Mar 2004 16:24:47 -0000 Received: (qmail 25050 invoked by alias); 23 Mar 2004 16:24:16 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7240 Received: (qmail 25030 invoked from network); 23 Mar 2004 16:24:15 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 23 Mar 2004 16:24:15 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [130.225.247.86] by sunsite.dk (MessageWall 1.0.8) with SMTP; 23 Mar 2004 16:24:14 -0000 Received: (qmail 23269 invoked from network); 23 Mar 2004 16:24:14 -0000 Received: from mta10.srv.hcvlny.cv.net (167.206.5.85) by a.mx.sunsite.dk with SMTP; 23 Mar 2004 16:24:04 -0000 Received: from acm.org (ool-182cd17f.dyn.optonline.net [24.44.209.127]) by mta10.srv.hcvlny.cv.net (iPlanet Messaging Server 5.2 HotFix 1.16 (built May 14 2003)) with ESMTP id <0HV100162EVRE7@mta10.srv.hcvlny.cv.net> for zsh-users@sunsite.dk; Tue, 23 Mar 2004 11:23:53 -0500 (EST) Date: Tue, 23 Mar 2004 11:26:05 -0500 From: paxunix Subject: How to get faster completion if I make zsh assume what I've typed so far is correct? To: zsh-users@sunsite.dk Message-id: <4060651D.4020107@acm.org> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT X-Accept-Language: en-us, en User-Agent: Mozilla Thunderbird 0.5+ (Windows/20040319) X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: * X-Spam-Status: No, hits=1.6 required=6.0 tests=RCVD_IN_NJABL,RCVD_IN_SORBS autolearn=no version=2.63 X-Spam-Hits: 1.6 Why does zsh have to glob every directory along a pathname in order to find completions within the final directory? For example, take this case: /one/two/three/four If I set -x, the output after hitting TAB shows zsh retrieves all the subdirectories within one, two, three and four. I would like zsh to only bother globbing in four to find the files that I'm looking for--it should assume that whatever I've currently typed is correct and it ONLY needs to look in four--there is no need for it to know anything about the contents of one, two or three. Is there a style setting or an option that I can use to do that? If two, three and four are NFS, it can often slow down completion a lot--particularly if there are a lot of files in them. -- Shawn Halpenny