about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFelipe Sateler <fsateler@debian.org>2014-06-28 15:59:20 +0200
committerAxel Beckert <abe@deuxchevaux.org>2014-07-04 00:46:12 +0200
commit0b62bde088d0ee5b1b2e3a54582bf01dae80a164 (patch)
treed7cff61ec5e1826e0d4d30f089138d7a46e5ad66
parent8088a453b4c346ac36ea4436a729230c52beb982 (diff)
downloadzsh-0b62bde088d0ee5b1b2e3a54582bf01dae80a164.tar.gz
zsh-0b62bde088d0ee5b1b2e3a54582bf01dae80a164.tar.xz
zsh-0b62bde088d0ee5b1b2e3a54582bf01dae80a164.zip
32819: Update for axi-cache completion
Add some subcommands and to disable file name completion
for the subcommands info and help.

Initially submitted to Debian at https://bugs.debian.org/729921
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Debian/Command/_axi-cache8
2 files changed, 11 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 4ad3cb66d..260776320 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-07-03  Axel Beckert  <abe@deuxchevaux.org>
+
+	* Felipe Sateler: 32819: Completion/Debian/Command/_axi-cache:
+	Update for axi-cache completion.
+
 2014-07-03  Mikael Magnusson  <mikachu@gmail.com>
 
 	* 32821: Completion/Unix/Command/_gcc: Update _gcc as of GCC
diff --git a/Completion/Debian/Command/_axi-cache b/Completion/Debian/Command/_axi-cache
index 0c137c700..bdefdd979 100644
--- a/Completion/Debian/Command/_axi-cache
+++ b/Completion/Debian/Command/_axi-cache
@@ -11,10 +11,11 @@ _arguments \
 
 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 @@ else
       _wanted tag expl 'count' \
         compadd -- 1 2 3 4 5 6 7 8 9 0
     ;;
+    (help|info)
+       # no args
+    ;;
     (*)
       _files
     ;;