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

Re: Bug: _oldlist and automatic coloring of matched



On Sun, Apr 25, 2010 at 2:22 PM, Peter Stephenson
<p.w.stephenson@xxxxxxxxxxxx> wrote:
> On Sat, 24 Apr 2010 10:35:06 -0700
> Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
>> I guess there should be a second test that $_saved_colors is non-empty
>> before assigning it to ZLS_COLORS ... but I'm not sure that's correct
>> either, because we don't know at this point *why* $_saved_colors is
>> empty, i.e., whether the value when saved was empty or unset.
>
> Should it be something like this?

Yes, that would probably do it, except I believe _saved_colors_set
needs to be declared somewhere.



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