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

Re: PATCH: zsh-3.1.5-pws-11 plus: _long_options and compstate[matcher]



Bart Schaefer wrote:

> This is the same bug that I had to patch in _match_test before.  Please
> remember that compstate[matcher] may be ZERO!  I think this is the right
> fix.

Oh, oops. I wanted to add this only temporarily when testing the
thing, it wasn't intended to be in the final version. I'm terribly
sorry.


Bye
 Sven

diff -u oc/User/_long_options Completion/User/_long_options
--- oc/User/_long_options	Tue Mar  9 08:56:07 1999
+++ Completion/User/_long_options	Tue Mar  9 08:56:32 1999
@@ -180,7 +180,6 @@
 
 # We get the string from the line and and see if it already contains a 
 # equal sign.
-(( compstate[matcher] > 1 )) && return
 
 str="$PREFIX$SUFFIX"
 

--
Sven Wischnowsky                         wischnow@xxxxxxxxxxxxxxxxxxxxxxx



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