zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: _toolchain-source (tpkg-install tpkg-make tpkg-debarch tpkg-update tpkg-install-libc)
@ 2005-11-07 17:04 Clint Adams
  0 siblings, 0 replies; only message in thread
From: Clint Adams @ 2005-11-07 17:04 UTC (permalink / raw)
  To: zsh-workers

Using a static list rather than relying on parsing a shell case
statement.

Index: Completion/Debian/Command/_toolchain-source
===================================================================
RCS file: Completion/Debian/Command/_toolchain-source
diff -N Completion/Debian/Command/_toolchain-source
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ Completion/Debian/Command/_toolchain-source	7 Nov 2005 17:02:35 -0000
@@ -0,0 +1,9 @@
+#compdef tpkg-install tpkg-make tpkg-debarch tpkg-update tpkg-install-libc
+
+local expl
+
+(( CURRENT == 2 )) &&
+_wanted target expl 'target platform' \
+   compadd alpha-linux arm-linux hppa-linux i{3..6}86-linux ia32-linux ia64-linux m68k-linux \
+           mipsel-linux mips-linux ppc-linux powerpc-linux sparc-linux s390-linux
+


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

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

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-07 17:04 PATCH: _toolchain-source (tpkg-install tpkg-make tpkg-debarch tpkg-update tpkg-install-libc) 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).