From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4484 invoked from network); 10 Mar 2000 11:24:45 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 10 Mar 2000 11:24:45 -0000 Received: (qmail 3354 invoked by alias); 10 Mar 2000 11:24:39 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 10054 Received: (qmail 3339 invoked from network); 10 Mar 2000 11:24:37 -0000 From: "Bart Schaefer" Message-Id: <1000310112403.ZM11294@candle.brasslantern.com> Date: Fri, 10 Mar 2000 11:24:03 +0000 In-Reply-To: <200003100901.KAA02760@beta.informatik.hu-berlin.de> Comments: In reply to Sven Wischnowsky "RE: GNU diff completion problem" (Mar 10, 10:01am) References: <200003100901.KAA02760@beta.informatik.hu-berlin.de> X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-workers@sunsite.auc.dk Subject: Re: GNU diff completion problem MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Mar 10, 10:01am, Sven Wischnowsky wrote: } Subject: RE: GNU diff completion problem } } How about this patch? It makes _diff_is_gnu an assoc of $words[1] and } it makes $words[1] be used as the command if it matches *diff. That } last part -- or at least the pattern -- may have to be changed: are } there other commands ending in `diff' that are not real diffs and that } may be in $words[1] when _diff_options is used? There's rcsdiff, of course, and also mgdiff and zdiff. All of those are "diff wrappers" that take the args to pass along to the real "diff". -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com