about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Core/_files1
1 files changed, 1 insertions, 0 deletions
diff --git a/Completion/Core/_files b/Completion/Core/_files
index 1ba564bf6..5c03848bb 100644
--- a/Completion/Core/_files
+++ b/Completion/Core/_files
@@ -73,6 +73,7 @@ for def in "$pats[@]"; do
           _path_files "$expl[@]" -g "$pat" "$opts[@]" && ret=0
         fi
       done
+      (( ret )) || break
     done
   done
   (( ret )) || return 0