about summary refs log tree commit diff
path: root/Completion/User
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-06-08 09:25:39 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-06-08 09:25:39 +0000
commit805381040dd69dd02b78423d2d71913b33f3cc33 (patch)
tree1fa89ee643e8e577a2f79e76e3d6cafc93256ca2 /Completion/User
parentf42e3fa8e6152e145251e8f16f4c61c23dec1f59 (diff)
downloadzsh-805381040dd69dd02b78423d2d71913b33f3cc33.tar.gz
zsh-805381040dd69dd02b78423d2d71913b33f3cc33.tar.xz
zsh-805381040dd69dd02b78423d2d71913b33f3cc33.zip
zsh-3.1.5-pws-21 zsh-3.1.5-pws-21
Diffstat (limited to 'Completion/User')
-rw-r--r--Completion/User/_make3
-rw-r--r--Completion/User/_mh2
2 files changed, 3 insertions, 2 deletions
diff --git a/Completion/User/_make b/Completion/User/_make
index a30ca4b7a..4770c0d7a 100644
--- a/Completion/User/_make
+++ b/Completion/User/_make
@@ -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)" ||
+_files
diff --git a/Completion/User/_mh b/Completion/User/_mh
index c2801b896..e228d31b0 100644
--- a/Completion/User/_mh
+++ b/Completion/User/_mh
@@ -57,7 +57,7 @@ else
   # Generate sequences.
   local foldnam folddir f ret
 
-  for f in $argv; do
+  for f in $words; do
     [[ $f = [@+]* ]] && foldnam=$f
   done
   if [[ $foldnam = '+'* ]]; then