From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20352 invoked from network); 13 May 2007 19:46:36 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.0 (2007-05-01) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=no version=3.2.0 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 13 May 2007 19:46:36 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 4777 invoked from network); 13 May 2007 19:46:30 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 13 May 2007 19:46:30 -0000 Received: (qmail 24222 invoked by alias); 13 May 2007 19:46:28 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 23434 Received: (qmail 24211 invoked from network); 13 May 2007 19:46:27 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 13 May 2007 19:46:27 -0000 Received: (qmail 4429 invoked from network); 13 May 2007 19:46:27 -0000 Received: from mtaout02-winn.ispmail.ntl.com (81.103.221.48) by a.mx.sunsite.dk with SMTP; 13 May 2007 19:46:24 -0000 Received: from aamtaout02-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout02-winn.ispmail.ntl.com with ESMTP id <20070513194623.RLSZ12560.mtaout02-winn.ispmail.ntl.com@aamtaout02-winn.ispmail.ntl.com> for ; Sun, 13 May 2007 20:46:23 +0100 Received: from pws-pc.ntlworld.com ([81.107.45.67]) by aamtaout02-winn.ispmail.ntl.com with ESMTP id <20070513194623.PZM17393.aamtaout02-winn.ispmail.ntl.com@pws-pc.ntlworld.com> for ; Sun, 13 May 2007 20:46:23 +0100 Received: from pws-pc.ntlworld.com (pws-pc.ntlworld.com [127.0.0.1]) by pws-pc.ntlworld.com (8.13.8/8.13.8) with ESMTP id l4DJkEUd019334 for ; Sun, 13 May 2007 20:46:16 +0100 Message-Id: <200705131946.l4DJkEUd019334@pws-pc.ntlworld.com> From: Peter Stephenson To: zsh-workers@sunsite.dk (Zsh hackers list) Subject: PATCH: completion for config.status [resent] Date: Sun, 13 May 2007 20:46:14 +0100 [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 Web page now at http://homepage.ntlworld.com/p.w.stephenson/