From: Tanaka Akira <akr@jaist.ac.jp>
To: zsh-workers@sunsite.auc.dk
Subject: PATCH: _make complete filenames as a last resort.
Date: 07 Jun 1999 10:07:57 +0900 [thread overview]
Message-ID: <rsqzp2crf6a.fsf@crane.jaist.ac.jp> (raw)
If targets for makefiles contain variable references, _make can not
generate proper completion candidate.
I think it is useful to complete normal filenames as a last resort.
--- Completion/User/_make- Mon Jun 7 10:00:59 1999
+++ Completion/User/_make Mon Jun 7 10:01:07 1999
@@ -1,3 +1,4 @@
#compdef make gmake pmake
-compgen -s "\$(awk '/^[a-zA-Z0-9][^\/ ]+:/ {print \$1}' FS=: [mM]akefile /dev/null)"
+compgen -s "\$(awk '/^[a-zA-Z0-9][^\/ ]+:/ {print \$1}' FS=: [mM]akefile /dev/null)" ||
+compgen -f
--
Tanaka Akira
next reply other threads:[~1999-06-07 1:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-06-07 1:07 Tanaka Akira [this message]
1999-06-07 6:43 ` Bart Schaefer
1999-06-07 18:23 ` Tanaka Akira
1999-06-08 7:07 Sven Wischnowsky
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=rsqzp2crf6a.fsf@crane.jaist.ac.jp \
--to=akr@jaist.ac.jp \
--cc=zsh-workers@sunsite.auc.dk \
/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).