From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27576 invoked from network); 7 Jun 1999 01:08:13 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 7 Jun 1999 01:08:13 -0000 Received: (qmail 29209 invoked by alias); 7 Jun 1999 01:08:01 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6478 Received: (qmail 29201 invoked from network); 7 Jun 1999 01:08:00 -0000 To: zsh-workers@sunsite.auc.dk Subject: PATCH: _make complete filenames as a last resort. MIME-Version: 1.0 (generated by AKEMI 1.13.2 - =?ISO-2022-JP?B?Ig==?= =?ISO-2022-JP?B?GyRCQTA0Y0s8GyhCIg==?=) Content-Type: text/plain; charset=US-ASCII From: Tanaka Akira Date: 07 Jun 1999 10:07:57 +0900 Message-ID: User-Agent: Chao-gnus/6.12.5 AKEMI/1.13.2 (=?ISO-2022-JP?B?GyRCQTAbKEI=?= =?ISO-2022-JP?B?GyRCNGNLPBsoQg==?=) FLAM-DOODLE/1.12.6 (=?ISO-2022-JP?B?GyRCM3cbKEI=?= 10R4.0/5.0) Emacs/20.3.10 (sparc-sun-solaris2.6) MULE/4.0 (HANANOEN) 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