From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18012 invoked by alias); 13 Apr 2010 20:33:28 -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: 15006 Received: (qmail 5256 invoked from network); 13 Apr 2010 20:33:26 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at sysctl.co.uk does not designate permitted sender hosts) X-AuditID: 11807134-b7bbbae0000026d3-f1-4bc4d51115d3 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1143) Subject: Re: Zsh autocompletion with no access to a parent directory From: Matt Wright In-Reply-To: <20100413174533.5a15043a@news01> Date: Tue, 13 Apr 2010 13:33:23 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <361816B9-75B6-4C88-8BE9-097B33CA2283@sysctl.co.uk> References: <3663DC29-7A8F-4A0C-8262-5FFE701C8E3A@sysctl.co.uk> <20100413174533.5a15043a@news01> To: zsh-users@zsh.org X-Mailer: Apple Mail (2.1143) X-Brightmail-Tracker: AAAAAQAAAZE= > You can try telling completion to accept any directory that it knows = exists > without trying to expand the path: >=20 > zstyle ':completion:*' accept-exact-dirs true >=20 > I'm not sure if this will help in the case you're describing, however, > since it looks like it might not be able to tell if the directory = exists. > You'll need zsh 4.3. Another thought, is it possible to get it to /never/ expand directories. = I almost (read. only by accident) never specify a directory below where = the cursor is with an incomplete name. It seems wasteful and slow for = autocompletion to go ferreting around network volumes looking for = alternatives. Especially in an automount environment where such = traversal could cause additional wait time whilst mounting other = volumes? M=