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

PATCH: _toolchain-source (tpkg-install tpkg-make tpkg-debarch tpkg-update tpkg-install-libc)



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
+



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