From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8820 invoked from network); 14 Mar 2000 18:32:43 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 14 Mar 2000 18:32:43 -0000 Received: (qmail 26231 invoked by alias); 14 Mar 2000 18:32:38 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 10141 Received: (qmail 26213 invoked from network); 14 Mar 2000 18:32:36 -0000 From: "Bart Schaefer" Message-Id: <1000314183232.ZM11482@candle.brasslantern.com> Date: Tue, 14 Mar 2000 18:32:32 +0000 In-Reply-To: <200003141527.QAA08824@beta.informatik.hu-berlin.de> Comments: In reply to Sven Wischnowsky "Re: command completion taking ages" (Mar 14, 4:27pm) References: <200003141527.QAA08824@beta.informatik.hu-berlin.de> X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-workers@sunsite.auc.dk Subject: Re: command completion taking ages MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Mar 14, 4:27pm, Sven Wischnowsky wrote: } Subject: Re: command completion taking ages } } zstyle ':completion:*:*:-command-:*' tag-order 'maybe()' - } } maybe() { [[ -n $PREFIX ]] && comptry "$@" } I wondered about that, but it's not a general solution for cases where there are multiple tags and you DO want to order them when there IS a non-empty prefix/suffix. Is there some way for the function to say "I didn't generate any matches, but don't try any more tags even so"? -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com