Subject: PATCH: _apt list $packages
From: Clint Adams <[email-masked]>
To: [email-masked]
Cc: [email-masked]
Date: Fri, 13 May 2016 01:00:23 +0000
List-Id: Zsh Workers List <zsh-workers.zsh.org>

diff --git a/Completion/Debian/Command/_apt b/Completion/Debian/Command/_apt
index 8e74e66..a46c326 100644
--- a/Completion/Debian/Command/_apt
+++ b/Completion/Debian/Command/_apt
@@ -399,7 +399,7 @@ _apt-cmd () {
     -o,--option:arbitem \
     -t,--target-release:release \
     -- \
-    /$'list\0'/ \| \
+    /$'list\0'/ /$'[^\0]#\0'/ ':packages::_deb_packages "$expl_packages[@]" avail' \# \
     /$'search\0'/ /$'[^\0]#\0'/ ':strings:pattern:' \| \
     /$'show\0'/ /$'[^\0]#\0'/ ':packages::_deb_packages "$expl_packages[@]" avail' \# \
     /$'update\0'/ \| \