about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Core/_complete1
-rw-r--r--Completion/Core/_normal1
2 files changed, 2 insertions, 0 deletions
diff --git a/Completion/Core/_complete b/Completion/Core/_complete
index c8c7b3d96..06d212a46 100644
--- a/Completion/Core/_complete
+++ b/Completion/Core/_complete
@@ -39,6 +39,7 @@ fi
 
 # For arguments and command names we use the `_normal' function.
 
+ret=1
 if [[ "$compstate[context]" = command ]]; then
   curcontext="$oldcontext"
   _normal -s && ret=0
diff --git a/Completion/Core/_normal b/Completion/Core/_normal
index e0375e077..54767f2f6 100644
--- a/Completion/Core/_normal
+++ b/Completion/Core/_normal
@@ -68,6 +68,7 @@ fi
 
 # Now look up the two names in the normal completion array.
 
+ret=1
 name="$cmd1"
 comp="$_comps[$cmd1]"