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

Re: Bug#472193: zsh: Please complete "aptitude why|why-not"



On Sat, Mar 22, 2008 at 04:59:20PM +0100, Sven Joachim wrote:
> The following untested patch adds completion for the "why" and "why-not"
> actions that were introduced in aptitude 0.4.5.3.

Thanks.


Index: Completion/Debian/Command/_aptitude
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Debian/Command/_aptitude,v
retrieving revision 1.7
diff -u -r1.7 _aptitude
--- Completion/Debian/Command/_aptitude	30 Mar 2007 16:28:14 -0000	1.7
+++ Completion/Debian/Command/_aptitude	22 Mar 2008 18:50:47 -0000
@@ -54,7 +54,7 @@
       search)
         _message -e patterns pattern
       ;;
-      download|show|changelog)
+      (download|show|changelog|why|why-not)
         _deb_packages avail && ret=0
       ;;
       (remove|purge|hold|unhold|reinstall|forbid-version|markauto|unmarkauto)



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