From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-users@zsh.org
Subject: Re: Makefile completion with wildcard targets
Date: Mon, 27 Jul 2015 11:13:17 -0700 [thread overview]
Message-ID: <150727111317.ZM6876@torch.brasslantern.com> (raw)
In-Reply-To: =?iso-8859-1?Q?=3CB8DE2BC0-9E11-448F-BDE8-A0E4DD9C7092=40dot?= =?iso-8859-1?Q?=2Eee=3E?= =?iso-8859-1?Q?Comments=3A_In_reply_to_Andri_M=F6ll_=3Candri=40dot=2Eee?= =?iso-8859-1?Q?=3E?= =?iso-8859-1?Q?________=22Makefile_completion_with_wildcard_targets=22_?= =?iso-8859-1?Q?=28Jul_27=2C__7=3A47pm=29?=
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?
next prev parent reply other threads:[~2015-07-27 18:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-27 16:47 Andri Möll
2015-07-27 18:13 ` Bart Schaefer [this message]
2015-07-28 13:11 ` Jun T.
2015-09-30 9:23 ` Andri Möll
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=150727111317.ZM6876@torch.brasslantern.com \
--to=schaefer@brasslantern.com \
--cc=zsh-users@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).