From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4334 invoked by alias); 30 Sep 2015 09:35:55 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 20668 Received: (qmail 28838 invoked from network); 30 Sep 2015 09:35:51 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE autolearn=ham autolearn_force=no version=3.4.0 Message-ID: <560BAA04.90107@dot.ee> Date: Wed, 30 Sep 2015 12:23:16 +0300 From: =?windows-1252?Q?Andri_M=F6ll?= User-Agent: Postbox 4.0.3 (Macintosh/20150805) MIME-Version: 1.0 To: Bart Schaefer CC: zsh-users@zsh.org Subject: Re: Makefile completion with wildcard targets References: <150727111317.ZM6876@torch.brasslantern.com> In-Reply-To: <150727111317.ZM6876@torch.brasslantern.com> Content-Type: multipart/alternative; boundary="------------050803000804080801000201" --------------050803000804080801000201 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Finally got around to giving it a spin and it seems to work. Thank you! A. Bart Schaefer wrote: > You could try changing (near the end of _make): > > _requested targets expl 'make targets' \ > compadd -- ${(k)TARGETS}&& ret=0 > > to > > _requested targets expl 'make targets' \ > compadd -Q -- ${(k)TARGETS}&& ret=0 > > Thereafter the _expand completer should be able to resolve them into > file names. > > Any zsh-workers have an opinion on whether this would be correct for all > targets? Should we just make this change in the distribution? --------------050803000804080801000201--