about summary refs log tree commit diff
path: root/Completion/User/_make
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/User/_make')
-rw-r--r--Completion/User/_make2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/User/_make b/Completion/User/_make
index b13224c06..958e2a5af 100644
--- a/Completion/User/_make
+++ b/Completion/User/_make
@@ -25,7 +25,7 @@ else
     file=Makefile
   elif [[ -e makefile ]]; then
     file=makefile
-  elif [[ -e GNUmakefile ]]; then
+  elif [[ -n "$_is_gnu[$words[1]]" && -e GNUmakefile ]]; then
     file=GNUmakefile
   else
     file=''