about summary refs log tree commit diff
path: root/Completion/Debian/Command/_axi-cache
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 /Completion/Debian/Command/_axi-cache
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
Diffstat (limited to 'Completion/Debian/Command/_axi-cache')
-rw-r--r--Completion/Debian/Command/_axi-cache8
1 files changed, 6 insertions, 2 deletions
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
     ;;