From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25952 invoked from network); 7 Aug 2009 01:03:59 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.5 Received: from new-brage.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.254.104) by ns1.primenet.com.au with SMTP; 7 Aug 2009 01:03:59 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 23694 invoked from network); 7 Aug 2009 01:03:51 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 7 Aug 2009 01:03:51 -0000 Received: (qmail 17755 invoked by alias); 7 Aug 2009 01:03:46 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 27212 Received: (qmail 26015 invoked from network); 31 Jul 2009 04:22:04 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 31 Jul 2009 04:22:04 -0000 Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.25]) by bifrost.dotsrc.org (Postfix) with ESMTP id 648E4808B31F for ; Fri, 31 Jul 2009 06:21:59 +0200 (CEST) Received: by qw-out-2122.google.com with SMTP id 8so1013623qwh.3 for ; Thu, 30 Jul 2009 21:21:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=rdOYvWz2iQuLBZR9PZ0bUC6n46qjZ1DUhB1C7klK3OA=; b=gS+VdOtecCxAQjZRQaaLc0gilMuqZfODWpjVAe2o8fpv1v3FDbfP0zuvvwjbXhDSnS t8a987RIzuh4qvvXor++7XlWRe7uMiMcW3ppC7tcEZHzg85SRa4lirg61fhSXSSGbcv1 y+EvBYnWpstUtIVcfx2ZRk63Ec6YePOHX2MP8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=jnbnnmy5jXchQ0jLvVq03ZL6GQ8kAaqcBqrhMwlM2iPQi4Vo3DwiyZ+aQ06oYBBVcO Lp4/U0bvWRntqHqzXyqrHbSZTtln2kfsjSIqOiD+4Ozd/M1X8hc1I3wh8iMT+1IP37iC PUxK5OHsNLBX/0Tw3+bbv/DMtUfaUqCh5XNnA= Received: by 10.224.45.137 with SMTP id e9mr1498778qaf.347.1249014118883; Thu, 30 Jul 2009 21:21:58 -0700 (PDT) Received: from ?192.168.1.46? (pool-71-163-236-21.washdc.east.verizon.net [71.163.236.21]) by mx.google.com with ESMTPS id 5sm4987975qwh.1.2009.07.30.21.21.57 (version=SSLv3 cipher=RC4-MD5); Thu, 30 Jul 2009 21:21:58 -0700 (PDT) Message-ID: <4A72715F.3040108@gmail.com> Date: Fri, 31 Jul 2009 00:21:51 -0400 From: Andrew Psaltis User-Agent: Thunderbird 2.0.0.22 (X11/20090605) MIME-Version: 1.0 To: zsh-workers@sunsite.dk Subject: [PATCH] Update completion for Slackware's pkgtools Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.94.2/9634/Thu Jul 30 05:03:31 2009 on bifrost X-Virus-Status: Clean Greetings. Due to updates to Slackware's pkgtools, .txz, .tbz, and .tlz packages are now supported. The following is a patch that updates zsh's pkgtool completion to accept those packages. ~Andrew Index: Completion/Linux/Command/_pkgtool =================================================================== RCS file: /cvsroot/zsh/zsh/Completion/Linux/Command/_pkgtool,v retrieving revision 1.7 diff -u -r1.7 _pkgtool --- Completion/Linux/Command/_pkgtool 21 Jun 2005 10:01:30 -0000 1.7 +++ Completion/Linux/Command/_pkgtool 19 Jul 2009 03:12:19 -0000 @@ -12,7 +12,7 @@ "-ask[always ask on package installation regardless of package's priority]" \ '-priority[provide a priority for the entire package list to use]:priority list:(ADD REC OPT SKP)' \ '-tagfile[specify a different file to use for package priorities]:tagfile:_files -/' \ - '*:package file:_files -g "*.tgz(-.)"' + '*:package file:_files -g "*.t[gblx]z(-.)"' ;; removepkg) @@ -29,11 +29,11 @@ '--install-new[install new packages in addition to upgrading existing ones]' \ '--reinstall[upgrade even when the same version is already installed]' \ '--verbose[show all the gory details of the upgrade]' \ - '*:package file:_files -g "*.tgz(-.)"' + '*:package file:_files -g "*.t[gblx]z(-.)"' ;; explodepkg) - _wanted file expl 'package file' _files -g '*.tgz(-.)' + _wanted file expl 'package file' _files -g '*.t[gblx]z(-.)' ;; makepkg)