zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: _dpkg-cross
@ 2005-11-07 16:48 Clint Adams
  0 siblings, 0 replies; only message in thread
From: Clint Adams @ 2005-11-07 16:48 UTC (permalink / raw)
  To: zsh-workers

I don't think this is quite right, but I don't know enough about
dpkg-cross to fix it.

Index: Completion/Debian/Command/_dpkg-cross
===================================================================
RCS file: Completion/Debian/Command/_dpkg-cross
diff -N Completion/Debian/Command/_dpkg-cross
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ Completion/Debian/Command/_dpkg-cross	7 Nov 2005 16:47:01 -0000
@@ -0,0 +1,22 @@
+#compdef dpkg-cross
+
+local _dpkgcross_arches
+
+_dpkgcross_arches=(/etc/dpkg-cross/cross-config.*(N))
+_dpkgcross_arches=(${${_dpkgcross_arches#*.}:-alpha amd64 common cygwin-i386 gnu hppa i386 linux m32r m68k mips powerpc sh sh3 sh3eb sh4 sh4eb w32})
+
+_arguments \
+  '(-h --help)'{-h,--help}'[show summary of options]' \
+  '(-v --verbose)'{-v,--verbose}'[be more verbose]' \
+  '(-q --quiet)'{-q,--quiet}'[be more quiet]' \
+  '(-a --arch)'{-a,--arch}':architecture:('"$_dpkgcross_arches"')' \
+  '(-i --install)'{-i,--install}'[install packages]' \
+  '(-A --convert-anyway)'{-A,--convert-anyway}'[convert package even if not useful]' \
+  '(-b --build)'{-b,--build}'[just build but do not install]' \
+  '(-r --remove)'{-r,--remove}'[remove packages]' \
+  '(-s --status)'{-s,--status}'[print status of named packages]' \
+  '(-l --list)'{-l,--list}'[print short status of named packages or patterns]' \
+  '(-L --list-files)'{-L,--list-files}'[list files belonging to named packages]' \
+  '(-u --update)'{-u,--update}'[update current cross-inst]' \
+  '(-Q --query)'{-Q,--query}'[print available update packages]' \
+  '*:package or path or pattern:_files'


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

only message in thread, other threads:[~2005-11-07 16:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-07 16:48 PATCH: _dpkg-cross 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).