From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20735 invoked from network); 23 May 2005 15:45:42 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 23 May 2005 15:45:42 -0000 Received: (qmail 89792 invoked from network); 23 May 2005 15:45:32 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 23 May 2005 15:45:32 -0000 Received: (qmail 13394 invoked by alias); 23 May 2005 15:45:23 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 8899 Received: (qmail 13373 invoked from network); 23 May 2005 15:45:23 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 23 May 2005 15:45:23 -0000 Received: (qmail 88615 invoked from network); 23 May 2005 15:45:22 -0000 Received: from mail36.messagelabs.com (193.109.254.211) by a.mx.sunsite.dk with SMTP; 23 May 2005 15:45:05 -0000 X-VirusChecked: Checked X-Env-Sender: okiddle@yahoo.co.uk X-Msg-Ref: server-11.tower-36.messagelabs.com!1116863103!17899069!1 X-StarScan-Version: 5.4.15; banners=-,-,- X-Originating-IP: [158.234.9.163] Received: (qmail 23805 invoked from network); 23 May 2005 15:45:03 -0000 Received: from iris.logica.co.uk (158.234.9.163) by server-11.tower-36.messagelabs.com with SMTP; 23 May 2005 15:45:03 -0000 Received: from trentino.logica.co.uk ([158.234.142.59]) by iris.logica.co.uk (8.12.3/8.12.3/Debian -4) with ESMTP id j4NFj3Ze029608 for ; Mon, 23 May 2005 16:45:03 +0100 Received: from trentino.groupinfra.com (localhost [127.0.0.1]) by trentino.logica.co.uk (Postfix) with ESMTP id C38BB54CDA for ; Mon, 23 May 2005 17:45:02 +0200 (CEST) X-VirusChecked: Checked X-StarScan-Version: 5.0.7; banners=.,-,- In-reply-to: From: Oliver Kiddle References: <20050520121834.GA32499@let.rug.nl> <1050520144942.ZM7191@candle.brasslantern.com> To: zsh-users@sunsite.dk Subject: Re: retrieving the results of last command? Date: Mon, 23 May 2005 17:45:01 +0200 Message-ID: <27277.1116863101@trentino.groupinfra.com> X-Spam-Checker-Version: SpamAssassin 3.0.2 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, score=-2.6 required=6.0 tests=BAYES_00 autolearn=ham version=3.0.2 X-Spam-Hits: -2.6 Felix Rosencrantz wrote: > Is there a way to configure completion, so that it will first attempt > to only complete items that it would normally complete but are only in > the keep list of the keeper function, and if there is nothing there > complete as it normally would. You could try doing something with ignored-patterns and zstyle -e: Does keeper just keep it's words in an array? If so something like '(${(j.|.)~keptwords})' may be a start. You may also need to remove $IPREFIX and $ISUFFIX from the beginning and end of each word in the array. You would also have problems if you want to use other ignore-patterns styles. Oliver