Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: Re: A few problems with 4.0.1-pre-1
- X-seq: zsh-workers 13555
- From: Oliver Kiddle <opk@xxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: PATCH: Re: A few problems with 4.0.1-pre-1
- Date: Wed, 28 Feb 2001 16:27:44 +0000
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- Sender: Oliver Kiddle <kiddleo@xxxxxxxxxx>
Paul Ackersviller wrote:
> I just installed zsh 4.0.1-pre-1 from CVS and was getting errors from
> _main_complete. This used to work for me a couple of months ago, so I
Thanks for the bug report. The problem is exactly as you described. The
trouble is that when ksh_arrays is set, $_comp_options only expands to the
first element of the _comp_options array - in the same way the ksh
does. This patch should fix it by using ${_comp_options[@]} instead to
expand to all elements in _comp_options.
I'm not sure about your second problem but I'll have a closer look.
The third problem is not really a problem. You don't have Yodl installed
so the documentation can't be generated. Normally these would be prebuilt
but they aren't if you download from CVS or one of the dev versions. Maybe
we should do something different here if the configure script doesn't find
Yodl because it doesn't look good. Any ideas?
Oliver Kiddle
Index: Completion/Core/_main_complete
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Core/_main_complete,v
retrieving revision 1.43
diff -u -u -r1.43 _main_complete
--- Completion/Core/_main_complete 2000/10/19 08:58:17 1.43
+++ Completion/Core/_main_complete 2001/02/28 16:19:08
@@ -16,7 +16,7 @@
# which makes the output of setopt and unsetopt reflect a different
# state than the global one for which you are completing.
-setopt localoptions $_comp_options
+setopt localoptions ${_comp_options[@]}
exec </dev/null # ZLE closes stdin, which can cause errors
Messages sorted by:
Reverse Date,
Date,
Thread,
Author