* PATCH: Re: make target completion
@ 2000-04-07 9:59 Sven Wischnowsky
0 siblings, 0 replies; only message in thread
From: Sven Wischnowsky @ 2000-04-07 9:59 UTC (permalink / raw)
To: zsh-workers
Andrej Borsenkow wrote:
> (in /tools/src/zsh):
>
> bor@itsrm2% sudo gmake i<TAB>
> bor@itsrm2% sudo gmake install
> Completing make target
> install install-strip install.fns
>
> but
>
> bor@itsrm2% grep '^install' Makefile
> install-strip:
> install: install.bin install.modules install.man install.fns
> install.bin uninstall.bin:
> install.modules uninstall.modules:
> install.man uninstall.man:
> install.fns:
> install.info uninstall.info:
> install.html uninstall.html:
>
> I actually tried to complete install.modules ...
Oops.
Bye
Sven
Index: Completion/User/_make
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/User/_make,v
retrieving revision 1.2
diff -u -r1.2 _make
--- Completion/User/_make 2000/04/01 20:43:43 1.2
+++ Completion/User/_make 2000/04/07 09:58:32
@@ -20,7 +20,7 @@
if [[ -n "$file" ]] && _wanted targets; then
tmp=(
- $(awk '/^[a-zA-Z0-9][^\/ \t]+:/ {print $1}
+ $(awk '/^[a-zA-Z0-9][^\/\t]+:/ {print $1}
/^\.include *<bsd\.port\.(subdir\.|pre\.)?mk>/ || /^\.include *".*mk\/bsd\.pkg\.(subdir\.)?mk"/ {
print "fetch fetch-list extract patch configure build install reinstall deinstall package describe checkpatch checksum makesum" }' \
FS=: $file)
--
Sven Wischnowsky wischnow@informatik.hu-berlin.de
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-04-07 10:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-04-07 9:59 PATCH: Re: make target completion Sven Wischnowsky
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).