From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13934 invoked from network); 23 Mar 2007 12:20:04 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,FORGED_RCVD_HELO autolearn=ham version=3.1.8 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 23 Mar 2007 12:20:04 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 96959 invoked from network); 23 Mar 2007 12:19:56 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 23 Mar 2007 12:19:56 -0000 Received: (qmail 13499 invoked by alias); 23 Mar 2007 12:19:52 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 23230 Received: (qmail 13489 invoked from network); 23 Mar 2007 12:19:51 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 23 Mar 2007 12:19:51 -0000 Received: (qmail 96545 invoked from network); 23 Mar 2007 12:19:51 -0000 Received: from uucp.gnuu.de (84.16.234.68) by a.mx.sunsite.dk with SMTP; 23 Mar 2007 12:19:45 -0000 Received: by uucp.gnuu.de (Postfix, from userid 10) id 5A6C518803B; Fri, 23 Mar 2007 13:19:45 +0100 (CET) Received: from news by alea.gnuu.de with local (Exim 4.50) id 1HUhFf-0007qL-UQ for zsh-workers@sunsite.dk; Fri, 23 Mar 2007 11:44:08 +0100 To: zsh-workers@sunsite.dk Path: not-for-mail From: =?UTF-8?Q?J=C3=B6rg?= Sommer Newsgroups: local.mailinglist.zsh Subject: Re: Completion alias Date: Fri, 23 Mar 2007 10:44:07 +0000 (UTC) Message-ID: References: <200703230001.l2N013h0009082@pwslaptop.csr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: alea.gnuu.de 1174646647 30151 192.168.0.5 (23 Mar 2007 10:44:07 GMT) X-Complaints-To: usenet@alea.gnuu.de User-Agent: slrn/0.9.8.1pl2 (Debian) Sender: news Hallo Peter, Peter Stephenson wrote: > =?UTF-8?Q?J=C3=B6rg?= Sommer wrote: >> is it possible to tell the completion system, that two commands are the >> same? mutt and mutt-ng take the same arguments, but the completion for >> mutt-ng arguments is not enabled. > > compdef mutt-ng=mutt Cool. This is what I've thought of. > Actually, it doesn't matter how the "service" was defined, it just has > to be registered as a completion, so the "CMD1=SERVICE" is a bit > of a red herring, unless I'm missing something. But how can I use this for a completion of a command with an argument, i.e. agi should have the same completion as 'agt-get install' Bye, Jörg. -- Die meisten Menschen wollen lieber durch Lob ruiniert als durch Kritik gerettet werden.