Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: Re: _configure or _arguments broken again?



Andrej Borsenkow wrote:

> With today's CVS:
> 
> bor@itsrm2% zsh -f
> itsrm2% autoload -U compinit; compinit -D
> itsrm2% itsrm2% ./configure --pre=/to<TAB>
>   B-e-e-s

Uff, it was only in shell code. But still rather stupid of me.

Bye
 Sven

Index: Completion/Base/_arguments
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Base/_arguments,v
retrieving revision 1.5
diff -u -r1.5 _arguments
--- Completion/Base/_arguments	2000/04/25 09:48:09	1.5
+++ Completion/Base/_arguments	2000/04/27 09:33:59
@@ -346,10 +346,9 @@
 	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

--
Sven Wischnowsky                         wischnow@xxxxxxxxxxxxxxxxxxxxxxx



Messages sorted by: Reverse Date, Date, Thread, Author