Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: _make complete filenames as a last resort.
- X-seq: zsh-workers 6478
- From: Tanaka Akira <akr@xxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: PATCH: _make complete filenames as a last resort.
- Date: 07 Jun 1999 10:07:57 +0900
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author