Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: completions for make targets?
- X-seq: zsh-users 2401
- From: Falk Hueffner <falk.hueffner@xxxxxxxxxxxxxxxxxxxxxxxx>
- To: "Raju K. V." <rajukv@xxxxxxxxxxxxxxxx>
- Subject: Re: completions for make targets?
- Date: 21 Jun 1999 11:17:07 +0200
- Cc: zsh-users@xxxxxxxxxxxxxx
- In-reply-to: "Raju K. V."'s message of "Mon, 21 Jun 1999 10:16:38 +0530 (IST)"
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <Pine.SV4.3.93.990621101124.5328A-100000@tagore>
"Raju K. V." <rajukv@xxxxxxxxxxxxxxxx> 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author