Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: _make
- X-seq: zsh-workers 6085
- From: Tanaka Akira <akr@xxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: PATCH: _make
- Date: 24 Apr 1999 00:34:35 +0900
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
I think that _make in zsh-3.1.5-pws-15 has a problem.
If this function runs in a directory without [mM]akefile,
awk process waits standard input and zsh stops.
% Src/zsh -f
% fpath=($PWD/Completion/*(/))
% . Completion/Core/compinit
% cd Completion
% make <TAB>
--- Completion/User/_make- Sat Apr 24 00:24:13 1999
+++ Completion/User/_make Sat Apr 24 00:24:19 1999
@@ -1,3 +1,3 @@
#compdef make gmake pmake
-compgen -s "\$(awk '/^[a-zA-Z0-9][^\/ ]+:/ {print \$1}' FS=: [mM]akefile)"
+compgen -s "\$(awk '/^[a-zA-Z0-9][^\/ ]+:/ {print \$1}' FS=: [mM]akefile /dev/null)"
--
[Tanaka Akira]
Messages sorted by:
Reverse Date,
Date,
Thread,
Author