diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-04-27 09:36:51 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-04-27 09:36:51 +0000 |
commit | a2365a9c6aedaaf7354949e351dfeb5d1bc21b92 (patch) | |
tree | b4ff317e536ff08639cc83d08a5cb7b203f903f2 /Completion | |
parent | 5d4139d4219904aab388131223bba4e1e967bf03 (diff) | |
download | zsh-a2365a9c6aedaaf7354949e351dfeb5d1bc21b92.tar.gz zsh-a2365a9c6aedaaf7354949e351dfeb5d1bc21b92.tar.xz zsh-a2365a9c6aedaaf7354949e351dfeb5d1bc21b92.zip |
fix for automatic option-argument completion with partially typed option in _arguments (10967)
Diffstat (limited to 'Completion')
-rw-r--r-- | Completion/Base/_arguments | 5 |
1 files changed, 2 insertions, 3 deletions
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 |