From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21193 invoked from network); 25 Jul 2005 23:54:00 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 25 Jul 2005 23:54:00 -0000 Received: (qmail 49960 invoked from network); 25 Jul 2005 23:53:55 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 25 Jul 2005 23:53:54 -0000 Received: (qmail 20739 invoked by alias); 25 Jul 2005 23:53:52 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 21524 Received: (qmail 20730 invoked from network); 25 Jul 2005 23:53:51 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 25 Jul 2005 23:53:51 -0000 Received: (qmail 49744 invoked from network); 25 Jul 2005 23:53:51 -0000 Received: from acolyte.scowler.net (216.254.112.45) by a.mx.sunsite.dk with SMTP; 25 Jul 2005 23:53:44 -0000 Received: by acolyte.scowler.net (Postfix, from userid 1000) id 79D4170057; Mon, 25 Jul 2005 19:53:42 -0400 (EDT) Date: Mon, 25 Jul 2005 19:53:42 -0400 From: Clint Adams To: Julius Plenz Cc: zsh-workers@sunsite.dk Subject: Re: Completions for pump and dhclient Message-ID: <20050725235342.GA1204@scowler.net> Mail-Followup-To: Julius Plenz , zsh-workers@sunsite.dk References: <20050725232931.GE3614@cvmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050725232931.GE3614@cvmx.de> User-Agent: Mutt/1.5.9i X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.4 > Yesterday I wrote two completions for "dhclient" and "pump". You can > get them at http://42.vg/71384 Better to actually send them to the mailing list. Index: Completion/Unix/Command/_pump =================================================================== RCS file: Completion/Unix/Command/_pump diff -N Completion/Unix/Command/_pump --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ Completion/Unix/Command/_pump 25 Jul 2005 23:52:09 -0000 @@ -0,0 +1,24 @@ +#compdef pump + +_arguments \ + '(-c --config-file=)'{-c,--config-file=}'[Configuratio file to use]:Configuratio file to use:_files' \ + '(-h --hostname=)'{-h,--hostname=}'[Hostname to request]:Hostname:_hosts' \ + '(-i --interface=)'{-i,--interface=}'[Interface to configure]:Interface:_net_interfaces' \ + '(-k --kill)'{-k,--kill}'[Kill daemon (and disable all interfaces)]' \ + '(-l --lease=)'{-l,--lease=}'[Lease time to request (in hours)]' \ + '(-L --leasesecs=)'{-L,--leasesecs=}'[Lease time to request (in seconds)]' \ + '(-r --release)'{-r,--release}'[Release interface]:Interface:_net_interfaces' \ + '(-R --renew)'{-R,--renew}'[Force immediate lease renewal]:Interface:_net_interfaces' \ + '(-v --verbose)'{-v,--verbose}'[Log verbose debug info]' \ + '(-s --status)'{-s,--status}'[Display interface status]:Interface:_net_interfaces' \ + '(-d --no-dns)'{-d,--no-dns}"[Don't update resolv.conf]" \ + '(-? --help)'{-?,--help}'[Display help message]' \ + "--no-gateway[Don't set a gateway for this interface]" \ + "--no-setup[Don't set up anything]" \ + "--no-resolvconf[Don't set up resolvconf]" \ + '--no-bootp[Ignore non-DHCP BOOTP responses]' \ + '--lookup-hostname[Force lookup of hostname]' \ + '--script=[Script to use]:Script to use:_files' \ + "--win-client-ident[Set the client identifier to match Window's]" \ + '--usage[Display brief usage message]' \ + ':Interface:_net_interfaces' Index: Completion/Unix/Command/_dhclient =================================================================== RCS file: Completion/Unix/Command/_dhclient diff -N Completion/Unix/Command/_dhclient --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ Completion/Unix/Command/_dhclient 25 Jul 2005 23:52:09 -0000 @@ -0,0 +1,7 @@ +#compdef dhclient + +_arguments \ + '-p[Port to transmit to / listen on]' \ + '-e[Exit if configuration failed after a certain time]' \ + '-d[Force to run in foreground]' \ + ':Interface:_net_interfaces'