From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9023 invoked from network); 12 Mar 2008 23:32:20 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) 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.2.4 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 12 Mar 2008 23:32:20 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 66349 invoked from network); 12 Mar 2008 23:32:13 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 12 Mar 2008 23:32:13 -0000 Received: (qmail 3805 invoked by alias); 12 Mar 2008 23:32:10 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24704 Received: (qmail 3790 invoked from network); 12 Mar 2008 23:32:09 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 12 Mar 2008 23:32:09 -0000 Received: from acolyte.scowler.net (acolyte.scowler.net [216.254.112.45]) by bifrost.dotsrc.org (Postfix) with ESMTP id 526208028AED for ; Thu, 13 Mar 2008 00:32:06 +0100 (CET) Received: by acolyte.scowler.net (Postfix, from userid 1000) id E7EE25C1ED; Wed, 12 Mar 2008 19:32:03 -0400 (EDT) Date: Wed, 12 Mar 2008 19:32:03 -0400 From: Clint Adams To: zsh-workers@sunsite.dk Subject: PATCH: _calendar Message-ID: <20080312233203.GA15376@scowler.net> Mail-Followup-To: zsh-workers@sunsite.dk MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-Virus-Scanned: ClamAV 0.91.2/6220/Wed Mar 12 23:33:03 2008 on bifrost X-Virus-Status: Clean This is the BSD calendar command as used in Debian and not the calsys function. Index: Completion/Unix/Command/_calendar =================================================================== RCS file: Completion/Unix/Command/_calendar diff -N Completion/Unix/Command/_calendar --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ Completion/Unix/Command/_calendar 12 Mar 2008 23:30:25 -0000 @@ -0,0 +1,12 @@ +#compdef calendar + +_arguments \ + '-a[process files of all users]' \ + '-A[print today and the following num days]:number of days:' \ + '-b[enforce special KOI8 date calculation mode]' \ + '-B[print today and the previous num days]:number of days:' \ + '-f[use file as the default calendar]:calendar file:_files' \ + '-l[print today and the following num days]:number of days:' \ + '-w[print today and the following num days only if today is Friday]:number of days:' \ + '-t[act as though today is the date specified]:date:' +