From a9d46be89d3470fb0630a84e66a9a6822da8bbce Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Thu, 29 Jun 2000 08:20:32 +0000 Subject: try to return the right value (12119) --- ChangeLog | 3 +++ Completion/Core/_complete | 1 + Completion/Core/_normal | 1 + 3 files changed, 5 insertions(+) diff --git a/ChangeLog b/ChangeLog index d3a7dd340..50b04d0e1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2000-06-29 Sven Wischnowsky + * 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]" -- cgit 1.4.1