Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: completion for config.status [resent]
- X-seq: zsh-workers 23434
- From: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx (Zsh hackers list)
- Subject: PATCH: completion for config.status [resent]
- Date: Sun, 13 May 2007 20:46:14 +0100
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
[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@xxxxxxxxxxxx>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/
Messages sorted by:
Reverse Date,
Date,
Thread,
Author