Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: _apt



policy can take an argument.  Patch from Dennis Haney <davh@xxxxxxx>.

Index: Completion/Debian/Command/_apt
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Debian/Command/_apt,v
retrieving revision 1.4
diff -u -r1.4 _apt
--- Completion/Debian/Command/_apt	16 Jan 2002 23:25:50 -0000	1.4
+++ Completion/Debian/Command/_apt	12 Apr 2002 23:30:07 -0000
@@ -471,7 +471,7 @@
     /$'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 () {



Messages sorted by: Reverse Date, Date, Thread, Author