[Pkg-zsh-devel] Bug#613162: zsh: Loading colors script fails, bad set of key/value pairs

Frank Terbeck ft at bewatermyfriend.org
Mon Feb 14 22:23:58 UTC 2011


Benjamin Peter wrote:
>> Frank Terbeck wrote:
>> [...]
>>> My suspicion is that this is an effect of an option. Could it be, that
>>> you're setting the `ksharrays' option? I strongly suspect that you do.
[...]
> # Arrays should start with zero!
> setopt KSH_ARRAYS
>
> :-)
>
> Thanks for your help of figuring my problem out.
[...]
> Anyways, would be cool if the system wide scripts

`colors' is actually a function not a script.

> would reset those kind of settings or set them individually as
> expected as you already suggested.

Yes, that is the general idea. But as you may know, zsh has a
bewildering set of options and other possible settings, that make it
hard to recognise, whether a chunk of code is sensitive to a certain set
of settings or not. So, occasionally issues such as this come up.


[...]
> Are you upstreaming your patch?

Yes, I'll probably commit either this or (more likely) a shorter patch
that uses "emulate -L zsh" on top of the function upstream tonight or
sometime tomorrow.

Patching the debian package may take a while longer, since we're still
working on a useful workflow for our VCS repository within the newly
formed debian zsh team.

Regards, Frank





More information about the Pkg-zsh-devel mailing list