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

Re: Bug#538956: zsh: please add completion: aptitude build-dep and build-depends



On Tue, Jul 28, 2009 at 04:27:11PM +0900, Kazuhiro NISHIYAMA wrote:
> The aptitude supports build-depends and build-dep, like apt-get build-dep.
> But zsh can not complete aptitude build-dep.

This is because those commands are not listed in the output of
`aptitude -h`.  I've filed this as bug#539458.

However, we can complete packages after `aptitude build-depends`
as well.

Index: Completion/Debian/Command/_aptitude
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Debian/Command/_aptitude,v
retrieving revision 1.9
diff -u -r1.9 _aptitude
--- Completion/Debian/Command/_aptitude	22 Jan 2009 23:20:51 -0000	1.9
+++ Completion/Debian/Command/_aptitude	1 Aug 2009 04:42:29 -0000
@@ -54,7 +54,7 @@
       search)
         _message -e patterns pattern
       ;;
-      (download|show|changelog|why|why-not|build-dep)
+      (download|show|changelog|why|why-not|build-dep|build-depends)
         _deb_packages avail && ret=0
       ;;
       (remove|purge|hold|unhold|reinstall|forbid-version|markauto|unmarkauto)



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