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]
- X-seq: zsh-workers 5692
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: PATCH: zsh-3.1.5-pws-11 plus: _long_options and compstate[matcher]
- Date: Tue, 9 Mar 1999 08:58:07 +0100 (MET)
- In-reply-to: Bart Schaefer's message of Mon, 8 Mar 1999 10:35:50 -0800 (PST)
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
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