about summary refs log tree commit diff
path: root/Completion/User
diff options
context:
space:
mode:
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