zsh-workers
 help / color / mirror / code / Atom feed
* Re: Bug#448182: completion for dpkg-repack
       [not found] <20071026180928.125900@gmx.net>
@ 2007-10-26 18:22 ` Clint Adams
  0 siblings, 0 replies; only message in thread
From: Clint Adams @ 2007-10-26 18:22 UTC (permalink / raw)
  To: Dr. Markus Waldeck, 448182; +Cc: zsh-workers

On Fri, Oct 26, 2007 at 08:09:28PM +0200, Dr. Markus Waldeck wrote:
> I made a completion for dpkg-repack:
> 
> cat /usr/share/zsh/4.3.4/functions/Completion/Debian/_dpkg-repack
> #compdef dpkg-repack
> 
> _arguments \
>         '--root=[Take package from filesystem rooted on <dir>.]' \
>         '--arch=[Force the parch to be built for architecture <arch>.]' \
>         '--generate[Generate build directory but do not build deb.]' \
>         '*:package:_deb_packages xinstalled'

Thanks.  I've tweaked it a bit.

Index: Completion/Debian/Command/_dpkg-repack
===================================================================
RCS file: Completion/Debian/Command/_dpkg-repack
diff -N Completion/Debian/Command/_dpkg-repack
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ Completion/Debian/Command/_dpkg-repack	26 Oct 2007 18:20:10 -0000
@@ -0,0 +1,7 @@
+#compdef dpkg-repack
+
+_arguments \
+  '--root=[take package from filesystem rooted on <dir>]:root dir:_files -/' \
+  '--arch=[force the package to be built for architecture <arch>]:architecture:(alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc)' \
+  '--generate[generate build directory but do not build deb]' \
+  '*:package:_deb_packages xinstalled'


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-10-26 18:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20071026180928.125900@gmx.net>
2007-10-26 18:22 ` Bug#448182: completion for dpkg-repack Clint Adams

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).