about summary refs log tree commit diff
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
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)
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Base/_arguments5
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  <wischnow@informatik.hu-berlin.de>
 
+	* 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