From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9560 invoked from network); 17 Jan 2008 02:43:58 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.4 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 17 Jan 2008 02:43:58 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 59709 invoked from network); 17 Jan 2008 02:43:52 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 17 Jan 2008 02:43:52 -0000 Received: (qmail 7215 invoked by alias); 17 Jan 2008 02:43:49 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24403 Received: (qmail 7198 invoked from network); 17 Jan 2008 02:43:48 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 17 Jan 2008 02:43:48 -0000 Received: from virusfilter.dotsrc.org (bifrost [127.0.0.1]) by spamfilter.dotsrc.org (Postfix) with ESMTP id 69ABD80307F6 for ; Thu, 17 Jan 2008 03:43:44 +0100 (CET) Received: from vms046pub.verizon.net (vms046pub.verizon.net [206.46.252.46]) by bifrost.dotsrc.org (Postfix) with ESMTP for ; Thu, 17 Jan 2008 03:43:44 +0100 (CET) Received: from torch.brasslantern.com ([71.121.18.67]) by vms046.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0JUR006KIOWTTC81@vms046.mailsrvcs.net> for zsh-workers@sunsite.dk; Wed, 16 Jan 2008 20:43:42 -0600 (CST) Received: from torch.brasslantern.com (localhost.localdomain [127.0.0.1]) by torch.brasslantern.com (8.13.1/8.13.1) with ESMTP id m0H2heuc012878 for ; Wed, 16 Jan 2008 18:43:41 -0800 Received: (from schaefer@localhost) by torch.brasslantern.com (8.13.1/8.13.1/Submit) id m0H2heK7012877 for zsh-workers@sunsite.dk; Wed, 16 Jan 2008 18:43:40 -0800 Date: Wed, 16 Jan 2008 18:43:40 -0800 From: Bart Schaefer Subject: Re: Accept filename completion In-reply-to: To: zsh-workers@sunsite.dk Message-id: <080116184340.ZM12876@torch.brasslantern.com> MIME-version: 1.0 X-Mailer: OpenZMail Classic (0.9.2 24April2005) Content-type: text/plain; charset=us-ascii References: <237967ef0801140855w7d989540red9eeb7f83edca76@mail.gmail.com> Comments: In reply to ( Text in unknown character set UTF-8 not shown ) Sommer "Re: Accept filename completion" (Jan 16, 7:12pm) X-Virus-Scanned: ClamAV using ClamSMTP On Jan 16, 7:12pm, Jorg Sommer wrote: } Subject: Re: Accept filename completion } } >> how do I tell zsh that I take a completion? When I complete } >> /usr/s I get /usr/sbin. Pressing TAB again gives me } >> /usr/share, but I want to see the files in /usr/sbin. How to do } >> this? } > } > Press / } } That's not really useful when you complete something else than } directories. It there really nothing else than stop the completion and } start a new one? There really is nothing else. You're in a menu, cycling through a list of choices that zsh doesn't know how to disambiguate, so you have to disambiguate for it by ending this completion. Vin may be on the mark with his accept-and-menu-complete suggestion, but circumstances still dictate what you have to do. If you want to complete again in the same context, e.g. another file in the same directory, then use accept-and-menu-complete; otherwise you have to change the context, e.g. descend to a subdirectory by adding a slash.