From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16375 invoked from network); 10 Oct 2006 22:18:17 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.6 (2006-10-03) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,FORGED_RCVD_HELO autolearn=ham version=3.1.6 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 10 Oct 2006 22:18:17 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 71352 invoked from network); 10 Oct 2006 22:18:11 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 10 Oct 2006 22:18:11 -0000 Received: (qmail 5219 invoked by alias); 10 Oct 2006 22:18:04 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 22860 Received: (qmail 5208 invoked from network); 10 Oct 2006 22:18:03 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 10 Oct 2006 22:18:03 -0000 Received: (qmail 70616 invoked from network); 10 Oct 2006 22:18:03 -0000 Received: from mtaout01-winn.ispmail.ntl.com (81.103.221.47) by a.mx.sunsite.dk with SMTP; 10 Oct 2006 22:18:02 -0000 Received: from aamtaout03-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout01-winn.ispmail.ntl.com with ESMTP id <20061010221801.NAAL15018.mtaout01-winn.ispmail.ntl.com@aamtaout03-winn.ispmail.ntl.com> for ; Tue, 10 Oct 2006 23:18:01 +0100 Received: from pwslaptop.csr.com ([82.6.97.160]) by aamtaout03-winn.ispmail.ntl.com with ESMTP id <20061010221801.RDI11710.aamtaout03-winn.ispmail.ntl.com@pwslaptop.csr.com> for ; Tue, 10 Oct 2006 23:18:01 +0100 Received: from pwslaptop.csr.com (pwslaptop.csr.com [127.0.0.1]) by pwslaptop.csr.com (8.13.7/8.13.7) with ESMTP id k9AMHuQr015710 for ; Tue, 10 Oct 2006 23:17:57 +0100 Message-Id: <200610102217.k9AMHuQr015710@pwslaptop.csr.com> From: Peter Stephenson To: zsh-workers@sunsite.dk (Zsh hackers list) Subject: PATCH: minor _tar tweak Date: Tue, 10 Oct 2006 23:17:56 +0100 I've been wondering why "tar -^D" doesn't show me anything... Index: Completion/Unix/Command/_tar =================================================================== RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_tar,v retrieving revision 1.6 diff -u -r1.6 _tar --- Completion/Unix/Command/_tar 25 Jun 2006 16:15:02 -0000 1.6 +++ Completion/Unix/Command/_tar 10 Oct 2006 22:17:20 -0000 @@ -154,6 +154,8 @@ _wanted files expl 'file from archive' _multi_parts / _tar_cache_list elif (( CURRENT == 2 )); then + # ignore leading - since we complete option letters anyway + compset -P - _values -s '' 'tar function' \ '(c t u x)A[append to an archive]' \ '(A t u x)c[create a new archive]' \ -- Peter Stephenson Web page now at http://homepage.ntlworld.com/p.w.stephenson/