Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: \## -> x when completing
On Thu, Feb 9, 2012 at 8:16 AM, Mikael Magnusson <mikachu@xxxxxxxxx> wrote:
>> tokenize(tmp);
>> - remnulargs(tmp);
>> if (haswilds(tmp)) {
>> if (is)
>> tmp[llpl + gfl] = Star;
>> + remnulargs(tmp);
>> if ((cp = patcompile(tmp, 0, NULL)))
>> haspattern = 1;
>> }
>
> This fix seems to work for me, I have barely tried anything but my
> test case so far though :). cat \##g<tab> now works in an irclogs dir
My new worry is that tokenize() might make the string *longer*, thus
causing the Star to be inserted too far to the left.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author