From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 937 invoked from network); 24 Feb 2004 04:51:29 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 24 Feb 2004 04:51:29 -0000 Received: (qmail 13025 invoked by alias); 24 Feb 2004 04:51:21 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 19458 Received: (qmail 12994 invoked from network); 24 Feb 2004 04:51:21 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 24 Feb 2004 04:51:21 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [203.109.249.143] by sunsite.dk (MessageWall 1.0.8) with SMTP; 24 Feb 2004 4:51:20 -0000 Received: from p243-tnt2.syd.ihug.com.au (localhost.localdomain) [203.173.130.243] by grunt23.ihug.com.au with esmtp (Exim 3.35 #1 (Debian)) id 1AvUXN-0006Tv-00; Tue, 24 Feb 2004 15:51:18 +1100 Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by localhost.localdomain (8.12.8/8.12.8) with ESMTP id i1O4hiQ3021761 for ; Tue, 24 Feb 2004 15:43:44 +1100 Received: (from doug@localhost) by localhost.localdomain (8.12.8/8.12.8/Submit) id i1O4hb3F021756 for zsh-workers@sunsite.dk; Tue, 24 Feb 2004 15:43:37 +1100 X-Authentication-Warning: localhost.localdomain: doug set sender to djkea2@mugca.its.monash.edu.au using -f Date: Tue, 24 Feb 2004 15:43:37 +1100 From: Doug Kearns To: zsh-workers@sunsite.dk Subject: PATCH: new raggle completion Message-ID: <20040224044337.GB3819@localhost.localdomain> 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.4i Here's a new completion function for raggle, a console RSS aggregator. Regards, Doug Index: Completion/Unix/Command/_raggle =================================================================== RCS file: Completion/Unix/Command/_raggle diff -N Completion/Unix/Command/_raggle --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ Completion/Unix/Command/_raggle 24 Feb 2004 04:31:55 -0000 @@ -0,0 +1,27 @@ +#compdef raggle + +_arguments \ + '(-a --add --add-feed)'{-a,--add,--add-feed}"[add a new feed (requires '--url')]" \ + '--ascii[use ASCII characters instead of ANSI for window borders]' \ + '(-c --config)'{-c,--config}'[specify an alternate config file]:config file:_files' \ + '(-d --delete --delete-feed)'{-d,--delete,--delete-feed}'[delete an existing feed]:feed ID:' \ + '(-e --edit --edit-feed)'{-e,--edit,--edit-feed}'[edit an existing feed]:feed ID:' \ + '(--import-opml)--export-opml[export feeds to OPML]:OPML file:_files -g "*.opml(-.)"' \ + "--force[force behavior Raggle won't normally allow]" \ + '(-)'{-h,--help,--usage}'[display this usage screen]' \ + '(--export-opml)--import-opml[import feeds from an OPML file]:OPML file:_files -g "*.opml(-.)"' \ + '(-i --invalidate)'{-i,--invalidate}'[invalidate a feed (force an update)]:feed ID:' \ + '(-l --list)'{-l,--list}"[list existing feeds (use '--verbose' to show URLs as well)]" \ + "--lock-title[lock Title attribute of feed (for '--add' and '--edit')]" \ + "--max-items[set the maximum number of items for a feed (for '--add' and '--edit')]" \ + '--purge[purge deleted feeds from feed cache]' \ + '(-r --refresh)'{-r,--refresh}"[refresh attribute of feed (for '--add' and '--edit')]:refresh time (minutes):" \ + "--save-items[save old items of feed (for '--add' and '--edit')]" \ + '--server[run Raggle in HTTP server mode]:port:_ports' \ + '(--sort --sort-feeds)'{--sort,--sort-feeds}'[sort feeds by title (case-insensitive)]' \ + '(-t --title)'{-t,--title}"[title attribute of feed (for '--add' and '--edit')]:feed title:" \ + "--unlock-title[unlock Title attribute of feed (for '--add' and '--edit')]" \ + "--unsave-items[don't save old items of feed (for '--add' and '--edit')]" \ + '(-u --url)'{-u,--url}"[URL attribute of feed (for '--add' and '--edit')]:url:_urls" \ + '--verbose[turn on verbose output]' \ + '(-)'{-v,--version}'[display version information]'