From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25496 invoked from network); 4 Oct 2006 09:36:59 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.5 (2006-08-29) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO autolearn=ham version=3.1.5 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 4 Oct 2006 09:36:59 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 84998 invoked from network); 4 Oct 2006 09:36:52 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 4 Oct 2006 09:36:52 -0000 Received: (qmail 6956 invoked by alias); 4 Oct 2006 09:36:49 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 22816 Received: (qmail 6946 invoked from network); 4 Oct 2006 09:36:49 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 4 Oct 2006 09:36:49 -0000 Received: (qmail 84825 invoked from network); 4 Oct 2006 09:36:49 -0000 Received: from acolyte.scowler.net (216.254.112.45) by a.mx.sunsite.dk with SMTP; 4 Oct 2006 09:36:46 -0000 Received: by acolyte.scowler.net (Postfix, from userid 1000) id A07B67005A; Wed, 4 Oct 2006 05:36:45 -0400 (EDT) Date: Wed, 4 Oct 2006 05:36:45 -0400 From: Clint Adams To: zsh-workers@sunsite.dk Subject: PATCH: _pon Message-ID: <20061004093645.GA20876@scowler.net> Mail-Followup-To: zsh-workers@sunsite.dk MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.5.13 (2006-08-11) Another one from Jörg Sommer: this is the pon script from Paul's PPP Package ( http://ppp.samba.org/ ). It needs some tidying and perhaps companion completion for poff. Index: Completion/Unix/Command/_pon =================================================================== RCS file: Completion/Unix/Command/_pon diff -N Completion/Unix/Command/_pon --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ Completion/Unix/Command/_pon 4 Oct 2006 09:34:44 -0000 @@ -0,0 +1,7 @@ +#compdef pon + +provider=(/etc/ppp/peers/*(:t)) + +_arguments \ + '(-q --quick)'{-q,--quick}'[hangs up after all ip-up scripts are run]' \ + '1:provider to call:(${provider[@]})'