* PATCH: completion for config.status [resent]
@ 2007-05-13 19:46 Peter Stephenson
0 siblings, 0 replies; only message in thread
From: Peter Stephenson @ 2007-05-13 19:46 UTC (permalink / raw)
To: Zsh hackers list
[Resending this since I think I hadn't got mail set up correctly
the first time...]
I think config.status is close enough to configure to use the
same completion file, even though most of the special features won't
actually be matched---we really just need the _arguments -- behaviour.
Index: Completion/Unix/Command/_configure
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_configure,v
retrieving revision 1.1
diff -u -r1.1 _configure
--- Completion/Unix/Command/_configure 2 Apr 2001 11:46:54 -0000 1.1
+++ Completion/Unix/Command/_configure 13 May 2007 19:22:24 -0000
@@ -1,4 +1,4 @@
-#compdef configure
+#compdef configure config.status
_arguments -- -i '(--(disable|enable)-FEATURE* --(with|without)-PACKAGE*)' \
-s '((#s)--disable- --enable-
--
Peter Stephenson <p.w.stephenson@ntlworld.com>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-05-13 19:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-13 19:46 PATCH: completion for config.status [resent] Peter Stephenson
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).