zsh-workers
 help / color / mirror / code / Atom feed
From: Axel Beckert <abe@deuxchevaux.org>
To: zsh-workers@zsh.org
Subject: Fwd: Bug#729921: zsh: Update for axi-cache completion [origin: fsateler@debian.org]
Date: Sat, 28 Jun 2014 15:59:20 +0200	[thread overview]
Message-ID: <20140628135919.GG5355@sym.noone.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 662 bytes --]

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)

[-- Attachment #2: Type: message/rfc822, Size: 5468 bytes --]

[-- Attachment #2.1.1: Type: text/plain, Size: 921 bytes --]

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  <none>

-- no debconf information

[-- Attachment #2.1.2: axi-cache.patch --]
[-- Type: text/x-diff, Size: 836 bytes --]

--- /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
     ;;

                 reply	other threads:[~2014-06-28 13:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140628135919.GG5355@sym.noone.org \
    --to=abe@deuxchevaux.org \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).