about summary refs log tree commit diff
path: root/Completion/Debian/Command/_apt
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2007-02-27 15:20:55 +0000
committerClint Adams <clint@users.sourceforge.net>2007-02-27 15:20:55 +0000
commitfb25ce0e4dda89ee654c4be2a87eb2c9517fc140 (patch)
tree5a99fcc10bfa397f414897a9165cefb729590918 /Completion/Debian/Command/_apt
parente168783d656910a034488d424039dbd2307f9a4c (diff)
downloadzsh-fb25ce0e4dda89ee654c4be2a87eb2c9517fc140.tar.gz
zsh-fb25ce0e4dda89ee654c4be2a87eb2c9517fc140.tar.xz
zsh-fb25ce0e4dda89ee654c4be2a87eb2c9517fc140.zip
23196: tweak apt-cache madison and --installed.
Diffstat (limited to 'Completion/Debian/Command/_apt')
-rw-r--r--Completion/Debian/Command/_apt3
1 files changed, 2 insertions, 1 deletions
diff --git a/Completion/Debian/Command/_apt b/Completion/Debian/Command/_apt
index 57c8e9469..7005c0e96 100644
--- a/Completion/Debian/Command/_apt
+++ b/Completion/Debian/Command/_apt
@@ -464,6 +464,7 @@ _apt-cache () {
     --recurse:bool \
     -c,--config-file:configfile \
     -o,--option:arbitem \
+    --installed:bool \
     -- \
     /$'help\0'/ \| \
     /$'add\0'/ /$'[^\0]#\0'/ ':files:index files:_files "$expl[@]"' \# \| \
@@ -483,7 +484,7 @@ _apt-cache () {
     /$'xvcg\0'/ /$'[^\0]#\0'/ ':packages::_deb_packages "$expl_packages[@]" avail' \# \| \
     /$'policy\0'/ /$'[^\0]#\0'/ ':packages::_deb_packages "$expl_packages[@]" avail' \# \| \
     /$'madison\0'/ /$'[^\0]#\0'/ ':packages::_deb_packages "$expl_packages[@]" avail' \# \| \
-    /"[]"/ ':argument-1::compadd "$expl_action[@]" help add gencaches showpkg showsrc stats dump dumpavail unmet search show depends rdepends pkgnames dotty policy xvcg'
+    /"[]"/ ':argument-1::compadd "$expl_action[@]" help add gencaches showpkg showsrc stats dump dumpavail unmet search show depends rdepends pkgnames dotty policy xvcg madison'
 
   _apt-cache () {
     local expl_action expl_packages expl_pkg_cache expl_src_cache