about summary refs log tree commit diff
path: root/Completion/Base
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2000-04-27 09:36:51 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2000-04-27 09:36:51 +0000
commita2365a9c6aedaaf7354949e351dfeb5d1bc21b92 (patch)
treeb4ff317e536ff08639cc83d08a5cb7b203f903f2 /Completion/Base
parent5d4139d4219904aab388131223bba4e1e967bf03 (diff)
downloadzsh-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/Base')
-rw-r--r--Completion/Base/_arguments5
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