From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1512 invoked from network); 24 Apr 1999 06:23:52 -0000 Received: from ns2.primenet.com.au (HELO primenet.com.au) (203.24.36.3) by ns1.primenet.com.au with SMTP; 24 Apr 1999 06:23:52 -0000 Received: (qmail 1662 invoked from network); 23 Apr 1999 15:37:02 -0000 Received: from sunsite.auc.dk (130.225.51.30) by 203.24.36.3 with SMTP; 23 Apr 1999 15:37:02 -0000 Received: (qmail 15248 invoked by alias); 23 Apr 1999 15:34:38 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6085 Received: (qmail 15240 invoked from network); 23 Apr 1999 15:34:37 -0000 To: zsh-workers@sunsite.auc.dk Subject: PATCH: _make MIME-Version: 1.0 (generated by AKEMI 1.13.1 - =?ISO-2022-JP?B?Ig==?= =?ISO-2022-JP?B?GyRCP2U+PUJOGyhCIg==?=) Content-Type: text/plain; charset=US-ASCII From: Tanaka Akira Date: 24 Apr 1999 00:34:35 +0900 Message-ID: User-Agent: Chao-gnus/6.12.5 AKEMI/1.13.1 (=?ISO-2022-JP?B?GyRCP2UbKEI=?= =?ISO-2022-JP?B?GyRCPj1CThsoQg==?=) FLAM-DOODLE/1.12.5 (=?ISO-2022-JP?B?GyRCRlAbKEI=?= 10R4.0/7.0) Emacs/20.3.8 (sparc-sun-solaris2.6) MULE/4.0 (HANANOEN) 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 --- 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]