From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24230 invoked from network); 2 Mar 2005 19:20:10 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 2 Mar 2005 19:20:10 -0000 Received: (qmail 70270 invoked from network); 2 Mar 2005 19:20:04 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 2 Mar 2005 19:20:04 -0000 Received: (qmail 27244 invoked by alias); 2 Mar 2005 19:20:02 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 20918 Received: (qmail 27225 invoked from network); 2 Mar 2005 19:20:01 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 2 Mar 2005 19:20:01 -0000 Received: (qmail 69671 invoked from network); 2 Mar 2005 19:19:58 -0000 Received: from smtp.wp.pl (212.77.101.1) by a.mx.sunsite.dk with SMTP; 2 Mar 2005 19:19:54 -0000 Received: (wp-smtpd smtp.wp.pl 2632 invoked from network); 2 Mar 2005 20:19:53 +0100 Received: from bya160.neoplus.adsl.tpnet.pl (HELO hairyass) (hak8@wp.pl@[83.30.20.160]) (envelope-sender ) by smtp.wp.pl (WP-SMTPD) with SMTP for ; 2 Mar 2005 20:19:53 +0100 From: Henryk Konsek Organization: AskesisLabs To: zsh-workers@sunsite.dk Subject: _unace Date: Wed, 2 Mar 2005 20:19:52 +0100 User-Agent: KMail/1.7.2 MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_YHhJCoST/RXVfye" Message-Id: <200503022019.52992.hak8@wp.pl> X-WP-AV: skaner antywirusowy poczty Wirtualnej Polski S. A. X-WP-SPAM: NO AS1=NO(Body=1 Fuz1=1 Fuz2=1) AS2=NO(0.937837) AS3=NO AS4=NO X-Spam-Checker-Version: SpamAssassin 3.0.2 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, score=-2.6 required=6.0 tests=BAYES_00 autolearn=ham version=3.0.2 X-Spam-Hits: -2.6 --Boundary-00=_YHhJCoST/RXVfye Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I've written completion file for the unace command. Its syntax is very similar to the unrar command so I've used part of _rar as a pattern while creating it. This is my first completion file so I would be grateful for any comments. I hope that I send it to the suittable mailing list :P Greetings, HK --Boundary-00=_YHhJCoST/RXVfye Content-Type: text/plain; charset="us-ascii"; name="_unace" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="_unace" #compdef unace if (( CURRENT == 2)); then _values 'unace command' \ 'e[Extract files]' \ 'l[List archive]' \ 't[Test archive integrity]' \ 'v[List archive (verbose)]' \ 'x[Extract files with full path]' \ && return else _arguments -S \ '-c\ [Show comments]' \ '-f\ [Full path matching]' \ '-o\ [Overwrite files]' \ '-p\[Set ]' \ '-y\ [Assume yes on all queries]' \ '*:files:_files -g \*.rar\(-.\)\' \ && return fi --Boundary-00=_YHhJCoST/RXVfye--