From a2365a9c6aedaaf7354949e351dfeb5d1bc21b92 Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Thu, 27 Apr 2000 09:36:51 +0000 Subject: fix for automatic option-argument completion with partially typed option in _arguments (10967) --- ChangeLog | 3 +++ Completion/Base/_arguments | 5 ++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index b72442be1..e14bf2215 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2000-04-27 Sven Wischnowsky + * 10967: Completion/Base/_arguments: fix for automatic + option-argument completion with partially typed option in _arguments + * 10965: and Felix: 10952: Completion/User/_urls, Doc/Zsh/compsys.yo: document _wanted -C; fix for call to _wanted in _urls diff --git a/Completion/Base/_arguments b/Completion/Base/_arguments index 9308bce71..77fbf534c 100644 --- a/Completion/Base/_arguments +++ b/Completion/Base/_arguments @@ -346,10 +346,9 @@ if (( $# )) && comparguments "$multi[@]" "$autod" "$@"; then IPREFIX="${IPREFIX}${equal[1]%%:*}=" matched=yes - comparguments -L "${equal[1]%%:*}" descr action subc - curcontext="${oldcontext%:*}:$subc" + comparguments -L "${equal[1]%%:*}" descrs actions subcs - _tags arguments + _tags "$subcs[@]" continue fi -- cgit 1.4.1