From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 691 invoked by alias); 28 Jun 2014 13:59:24 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 32819 Received: (qmail 25670 invoked from network); 28 Jun 2014 13:59:22 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.2 Date: Sat, 28 Jun 2014 15:59:20 +0200 From: Axel Beckert To: zsh-workers@zsh.org Subject: Fwd: Bug#729921: zsh: Update for axi-cache completion [origin: fsateler@debian.org] Message-ID: <20140628135919.GG5355@sym.noone.org> Mail-Followup-To: zsh-workers@zsh.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="p2u4WfPhYOuYlOsk" Content-Disposition: inline X-Operating-System: Linux 3.2.0-4-amd64 X-Machine: sym2 x86_64 X-Editor: GNU Emacs 23.4.1 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAAAAAC3mUtaAAAABGdBTUEAALGPC/xhBQAAADh0RVh0U29mdHdhcmUAWFYgVmVyc2lvbiAzLjEwYSAgUmV2OiAxMi8yOS85NCAoUE5HIHBhdGNoIDEuMindFS5JAAACGElEQVQ4jXXQMU8UYRDG8f8shNjdDH4AbpfGDjAWlKiJiZ0ajL1aGCvsNCbGaCGG1koLaztaTYz6ATy+gOyehYmF3MxVxgg3FnDsHcTpJr/M+8w7Rf6nCsaVTTDqxbg9hoOXmw83H71+Eyfg4E1d7/Z2fG9rGkZbTQiu+K+3U/C+76lmkvAhJuDndnoAiftou4V84okAGclop4U/jYACZDTxrYWP0gkxVfAm/W//GLZpxIzwIN0Hn8dw0B+IWkZmQmRsj2HfhwokEklHfNCCiQCRgAR7YyhQVRVTCKCzP4Y5zBBE0t0zY3Q8oQaBqqAMlVEcgVQd9706zGirAFium8HXumlMIeMwqQCInju+2+uB6MRENupdpMt8pRlHZyuAW0F+Mb6XSIVqtxjD+iVmVqqystLEzFTGT92YqRaXpNT5eTVjeJhbALPnrTxLUZUKZsgxcNm64hAOYisT/xhF+oKTGU5RegtC3Rt6eEDi/QnIevdTx9Md2EMmYBRmCQR1026FCGQQJJExsRUqgkMGaWSbwYLnoO4T6VgpbQbdELPMBAHWWrhYrcxXnYgAsatPWygkFCBD4K62MAsOTqA6szYRPpsu6e6Y8mPiVrBMNuGIMrgwBUu4p2DgG1Ownu6hpuTv7hScefHAzAC/yRRw5U5pALMbJ4AUALvHSZhxgHPXTsHcdWD1GadAHr9avP+c0wCr7263Df8ASLwXWHWs+KIAAAAHdElNRQfYBQEBODPr Organization: DeuxChevaux.org -- The =?iso-8859-1?Q?Citr?= =?iso-8859-1?B?b+tu?= 2CV Database User-Agent: Mutt/1.5.21 (2010-09-15) --p2u4WfPhYOuYlOsk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, the attached mail contains a patch which updates zsh's axi-cache completion to add some subcommands and to disable file name completion for the subcommands info and help. The patch applies cleanly against Completion/Debian/Command/_axi-cache in zsh's git HEAD. Initially reported in Debian at https://bugs.debian.org/729921 Kind regards, Axel -- /~\ Plain Text Ribbon Campaign | Axel Beckert \ / Say No to HTML in E-Mail and News | abe@deuxchevaux.org (Mail) X See http://www.nonhtmlmail.org/campaign.html | abe@noone.org (Mail+Jabber) / \ I love long mails: http://email.is-not-s.ms/ | http://noone.org/abe/ (Web) --p2u4WfPhYOuYlOsk Content-Type: message/rfc822 Content-Disposition: inline Return-Path: X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on sym2.noone.org X-Spam-Level: X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD autolearn=ham version=3.3.1 X-Original-To: abe@deuxchevaux.org Delivered-To: abe@sym2.noone.org Received: from buxtehude.debian.org (buxtehude.debian.org [140.211.166.26]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by sym2.noone.org (Postfix) with ESMTPS id AA931135A008 for ; Mon, 18 Nov 2013 22:51:15 +0100 (CET) Received: from debbugs by buxtehude.debian.org with local (Exim 4.80) (envelope-from ) id 1ViWio-0005TD-Vt; Mon, 18 Nov 2013 21:51:06 +0000 X-Loop: owner@bugs.debian.org Subject: Bug#729921: zsh: Update for axi-cache completion Reply-To: Felipe Sateler , 729921@bugs.debian.org Resent-From: Felipe Sateler Resent-To: debian-bugs-dist@lists.debian.org Resent-CC: fsateler@debian.org, mika@debian.org, abe@debian.org, clint@debian.org, ft@bewatermyfriend.org, richih@debian.org, Debian Zsh Maintainers X-Loop: owner@bugs.debian.org Resent-Date: Mon, 18 Nov 2013 21:51:02 +0000 Resent-Message-ID: X-Debian-PR-Message: report 729921 X-Debian-PR-Package: zsh X-Debian-PR-Keywords: patch X-Debian-PR-Source: zsh Received: via spool by submit@bugs.debian.org id=B.138481139620143 (code B); Mon, 18 Nov 2013 21:51:02 +0000 Received: (at submit) by bugs.debian.org; 18 Nov 2013 21:49:56 +0000 Received: from iron8.vtr.com ([190.160.0.184]) by buxtehude.debian.org with esmtp (Exim 4.80) (envelope-from ) id 1ViWhg-0005EQ-K8 for submit@bugs.debian.org; Mon, 18 Nov 2013 21:49:56 +0000 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvoHAOCKilIKAnsp/2dsb2JhbABZvX+BFoEygwCBN3SDTQVgHRQMiA3CVheOLgEBgTSEPQONd4I5h1+GQCeOaYFX Received: from unknown (HELO vtr.net) ([10.2.123.41]) by iron4i.vtr.com with ESMTP; 18 Nov 2013 18:49:40 -0300 Received: by f1.vtr.net (CommuniGate Pro PIPE 5.4.5) with PIPE id 74276316; Mon, 18 Nov 2013 18:49:41 -0300 Received: from [201.214.172.48] (account sateler@vtr.net HELO emailer.genoa) by f1.vtr.net (CommuniGate Pro SMTP 5.4.5) with ESMTPA id 74276272 for submit@bugs.debian.org; Mon, 18 Nov 2013 18:49:29 -0300 Received: from felipepc.sateler (pc-25-25-214-201.cm.vtr.net [201.214.25.25]) by emailer.genoa (Postfix) with ESMTPSA id 7211827842 for ; Mon, 18 Nov 2013 15:50:07 -0300 (CLST) Received: by felipepc.sateler (Postfix, from userid 1000) id D8113282EC1; Mon, 18 Nov 2013 18:49:17 -0300 (CLST) Content-Type: multipart/mixed; boundary="===============8538901873845650029==" MIME-Version: 1.0 From: Felipe Sateler To: Debian Bug Tracking System Message-ID: <20131118214917.12329.71670.reportbug@felipepc> X-Mailer: reportbug 6.4.4 Date: Mon, 18 Nov 2013 18:49:17 -0300 Delivered-To: submit@bugs.debian.org Resent-Sender: Debian BTS X-Keywords: X-UID: 116410 This is a multi-part MIME message sent by reportbug. --===============8538901873845650029== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline Package: zsh Version: 5.0.2-6 Severity: minor Tags: patch Dear zsh maintainers, Please find attached an update for the axi-cache completion function adding a few commands missing. Sorry for CCing everyone, but since alioth is down the mail wouldn't have arrived. -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.11-2-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages zsh depends on: ii libc6 2.17-96 ii libcap2 1:2.22-1.2 ii libtinfo5 5.9+20130608-1 ii zsh-common 5.0.2-6 Versions of packages zsh recommends: ii libncursesw5 5.9+20130608-1 ii libpcre3 1:8.31-2 Versions of packages zsh suggests: pn zsh-doc -- no debconf information --===============8538901873845650029== Content-Type: text/x-diff; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="axi-cache.patch" --- /usr/share/zsh/functions/Completion/Debian/_axi-cache 2013-10-26 10:20:46.000000000 -0300 +++ .zsh/functions/_axi-cache 2013-11-18 18:35:55.803964725 -0300 @@ -11,10 +11,11 @@ if (( CURRENT == 2 )); then _wanted tag expl 'axi-cache commands' \ - compadd help search more last show again + compadd help search more last show again info \ + rdetails depends madison policy showpkg showsrc else case "$words[2]" in - (search|show|again) + (search|show|again|rdetails|depends|madison|policy|showpkg|showsrc) _wanted tag expl 'terms/query' \ compadd -- $($service $words[2] --tabcomplete=plain -- $words[CURRENT]) ;; @@ -22,6 +23,9 @@ _wanted tag expl 'count' \ compadd -- 1 2 3 4 5 6 7 8 9 0 ;; + (help|info) + # no args + ;; (*) _files ;; --===============8538901873845650029==-- --p2u4WfPhYOuYlOsk--