summary refs log tree commit diff
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2000-04-07 10:01:20 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2000-04-07 10:01:20 +0000
commit424ad9fc1d213316e9eb6da8f9040d48a211f46b (patch)
tree2a9fab37e38eca3dbf7e1e2b67abeedc605befb3
parent920c353740f518d800e677b3477cf9068a57aeaf (diff)
downloadzsh-424ad9fc1d213316e9eb6da8f9040d48a211f46b.tar.gz
zsh-424ad9fc1d213316e9eb6da8f9040d48a211f46b.tar.xz
zsh-424ad9fc1d213316e9eb6da8f9040d48a211f46b.zip
complete make targets of the form `foo bar:' (10575)
-rw-r--r--ChangeLog3
-rw-r--r--Completion/User/_make2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 0ff64832b..aced251ed 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2000-04-07  Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
 
+	* 10575: Completion/User/_make: complete make targets of the form
+ 	`foo bar:'
+	
 	* 10573: Src/Zle/compmatch.c: cursor placed on wrong word part
  	with ** match spec
 	
diff --git a/Completion/User/_make b/Completion/User/_make
index 741cbb7dc..9a8a7ac44 100644
--- a/Completion/User/_make
+++ b/Completion/User/_make
@@ -20,7 +20,7 @@ else
 
   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)