From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4383 invoked from network); 9 Jul 2006 18:15:53 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO autolearn=ham version=3.1.3 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 9 Jul 2006 18:15:53 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 55186 invoked from network); 9 Jul 2006 18:15:45 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 9 Jul 2006 18:15:45 -0000 Received: (qmail 23557 invoked by alias); 9 Jul 2006 18:15:37 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 10504 Received: (qmail 23548 invoked from network); 9 Jul 2006 18:15:37 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 9 Jul 2006 18:15:37 -0000 Received: (qmail 54043 invoked from network); 9 Jul 2006 18:15:37 -0000 Received: from vms046pub.verizon.net (206.46.252.46) by a.mx.sunsite.dk with SMTP; 9 Jul 2006 18:15:36 -0000 Received: from torch.brasslantern.com ([71.116.74.94]) by vms046.mailsrvcs.net (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPA id <0J25006XGEPSZOC8@vms046.mailsrvcs.net> for zsh-users@sunsite.dk; Sun, 09 Jul 2006 13:15:29 -0500 (CDT) Received: from torch.brasslantern.com (localhost.localdomain [127.0.0.1]) by torch.brasslantern.com (8.13.1/8.13.1) with ESMTP id k69IFS0F010644 for ; Sun, 09 Jul 2006 11:15:28 -0700 Received: (from schaefer@localhost) by torch.brasslantern.com (8.13.1/8.13.1/Submit) id k69IFRpk010643 for zsh-users@sunsite.dk; Sun, 09 Jul 2006 11:15:27 -0700 Date: Sun, 09 Jul 2006 11:15:25 -0700 From: Bart Schaefer Subject: Re: Is there a way to do an automatic list-choices after successful completion of directory name? In-reply-to: To: "Zsh Users' List" Message-id: <060709111527.ZM10642@torch.brasslantern.com> MIME-version: 1.0 X-Mailer: OpenZMail Classic (0.9.2 24April2005) Content-type: text/plain; charset=us-ascii References: <060709102815.ZM10543@torch.brasslantern.com> Comments: In reply to "Nikolai Weibull" "Re: Is there a way to do an automatic list-choices after successful completion of directory name?" (Jul 9, 11:04am) On Jul 9, 11:04am, Nikolai Weibull wrote: } } By the way, why is there a leading and trailing space in $_lastcomp[tags]? It's a space-separated list, so if it has a leading and trailing space it can easily be scanned for a specific entry with [[ $_lastcomp[tags] = *" entry "* ]] --