From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 585 invoked from network); 21 Jun 1999 09:24:26 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 21 Jun 1999 09:24:26 -0000 Received: (qmail 29921 invoked by alias); 21 Jun 1999 09:24:05 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 2401 Received: (qmail 29914 invoked from network); 21 Jun 1999 09:24:03 -0000 X-Face: >Q)4Pn.JVfRz{G(G_eIkykbZGG\)2mk8:5a"{^Mk07iC#F.t2L7h|]{*cFg$GEPDdun~+UTjG(^4z<_Ksw%L-\w0xDmUR~ Cc: zsh-users@sunsite.auc.dk Subject: Re: completions for make targets? References: From: Falk Hueffner Date: 21 Jun 1999 11:17:07 +0200 In-Reply-To: "Raju K. V."'s message of "Mon, 21 Jun 1999 10:16:38 +0530 (IST)" Message-ID: X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald" "Raju K. V." writes: > I am a zsh newbie still struggling to understand the power of > compctl. I have one requirement. How can I use compctl to complate > make targets? Try this (I think it comes from the snandard compctl example file): compctl -s "\$(awk '/^[a-zA-Z0-9][^ ]+:/ {print \$1}' FS=: [mM]akefile)" -x \ 'c[-1,-f]' -f -- make gmake pmake