summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Core/_complete1
-rw-r--r--Completion/Core/_normal1
3 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index d3a7dd340..50b04d0e1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2000-06-29  Sven Wischnowsky  <wischnow@zsh.org>
 
+	* 12119: Completion/Core/_complete, Completion/Core/_normal: try
+ 	to return the right value
+	
 	* 12118: Completion/Core/_expand: don't expand partially typed
  	parameter expansions
 	
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]"