* PATCH: zsh-3.1.5-pws-11 plus: _long_options and compstate[matcher]
@ 1999-03-08 18:35 Bart Schaefer
0 siblings, 0 replies; 2+ messages in thread
From: Bart Schaefer @ 1999-03-08 18:35 UTC (permalink / raw)
To: zsh-workers
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.
--- _long_options.bak Mon Mar 8 10:28:51 1999
+++ _long_options Mon Mar 8 10:30:54 1999
@@ -180,7 +180,7 @@
# We get the string from the line and and see if it already contains a
# equal sign.
-[[ compstate[matcher] -ne 1 ]] && return
+(( compstate[matcher] > 1 )) && return
str="$PREFIX$SUFFIX"
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: PATCH: zsh-3.1.5-pws-11 plus: _long_options and compstate[matcher]
@ 1999-03-09 7:58 Sven Wischnowsky
0 siblings, 0 replies; 2+ messages in thread
From: Sven Wischnowsky @ 1999-03-09 7:58 UTC (permalink / raw)
To: zsh-workers
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@informatik.hu-berlin.de
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1999-03-09 7:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-03-08 18:35 PATCH: zsh-3.1.5-pws-11 plus: _long_options and compstate[matcher] Bart Schaefer
1999-03-09 7:58 Sven Wischnowsky
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).