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

PATCH: _bts cache and cleancache



cache should handle options, and both should deal with src:, from:, &c.
prefixes.

Index: Completion/Debian/Command/_bts
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Debian/Command/_bts,v
retrieving revision 1.8
diff -u -r1.8 _bts
--- Completion/Debian/Command/_bts	19 Jun 2007 13:03:48 -0000	1.8
+++ Completion/Debian/Command/_bts	6 Jul 2007 15:28:56 -0000
@@ -181,6 +181,18 @@
      _wanted sep expl 'separator' compadd -S ' ' , .
     fi
   ;;
+  (cache)
+     _alternative \
+       'package:package:_deb_packages avail' \
+       'email:email address:_email_addresses -c' \
+       'rc:rc:compadd release-critical'
+  ;;
+  (cleancache)
+     _alternative \
+       'package:package:_deb_packages avail' \
+       'email:email address:_email_addresses -c' \
+       'all:all:compadd ALL'
+  ;;
   help)
   ;&
   *) _wanted sep expl 'separator' compadd -S ' ' , .



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