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

Re: histlexwords error with >! token



On Jan 25,  9:40pm, Mikael Magnusson wrote:
}
} > -                           wptr++;
} > +                           if (!*++wptr)
} > +                               break;
} 
} That appears to do the trick. I also tried recalling the words with
} insert-last-word and copy-earlier-word and they show up as expected
} even when they contain spaces, which wasn't the case before the patch.

Hm, that's a little strange (unless you mean this happens on lines that
also contain ">!") -- for the simple case of words containing a space,
the strpfx() call up at line 3407 should have done the trick in the
first place.

Nevertheless, I'll go ahead and push this for now.



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