about summary refs log tree commit diff
path: root/Completion/Debian
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2002-04-12 23:33:57 +0000
committerClint Adams <clint@users.sourceforge.net>2002-04-12 23:33:57 +0000
commitd8fc48f7daa6758ec6a239789b6922af614e1fac (patch)
treefec39ffe260b40d0f1a82e5976b528dbc9186480 /Completion/Debian
parented447dd9b743e922faf038620e7b05307bda14f8 (diff)
downloadzsh-d8fc48f7daa6758ec6a239789b6922af614e1fac.tar.gz
zsh-d8fc48f7daa6758ec6a239789b6922af614e1fac.tar.xz
zsh-d8fc48f7daa6758ec6a239789b6922af614e1fac.zip
16973: complete package name argument to apt-cache policy.
Diffstat (limited to 'Completion/Debian')
-rw-r--r--Completion/Debian/Command/_apt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Debian/Command/_apt b/Completion/Debian/Command/_apt
index 636f916fc..4ae42601b 100644
--- a/Completion/Debian/Command/_apt
+++ b/Completion/Debian/Command/_apt
@@ -471,7 +471,7 @@ _apt-cache () {
     /$'depends\0'/ \| \
     /$'pkgnames\0'/ \| \
     /$'dotty\0'/ \| \
-    /$'policy\0'/ \| \
+    /$'policy\0'/ /$'[^\0]#\0'/ ':packages::_deb_packages "$expl_packages[@]" avail' \# \| \
     /"[]"/ ':argument-1::compadd "$expl_action[@]" help add gencaches showpkg stats dump dumpavail unmet check search show depends pkgnames dotty policy'
 
   _apt-cache () {