diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-06-29 08:20:32 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-06-29 08:20:32 +0000 |
commit | a9d46be89d3470fb0630a84e66a9a6822da8bbce (patch) | |
tree | 9278ba679ebb9e540c457ba43c11bd965940e183 /Completion | |
parent | 4bf681950b37f9b185e7d1628a07da90acdf9293 (diff) | |
download | zsh-a9d46be89d3470fb0630a84e66a9a6822da8bbce.tar.gz zsh-a9d46be89d3470fb0630a84e66a9a6822da8bbce.tar.xz zsh-a9d46be89d3470fb0630a84e66a9a6822da8bbce.zip |
try to return the right value (12119)
Diffstat (limited to 'Completion')
-rw-r--r-- | Completion/Core/_complete | 1 | ||||
-rw-r--r-- | Completion/Core/_normal | 1 |
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]" |