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

Re: zsh 5.3.1 crashes on completion



On Sat, 13 May 2017 11:23:13 -0700
Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> The crash occurs when the history in the subshell is updated to remove
> the duplicate of the previous command.  Adding new history events is
> disabled in subshells so the new event that is supposed to replace the
> old one does not exist, and the code wanders off into neverland.
> 
> I'm not exactly sure where to fix this, or whether there's something
> that can be done about the infinite loop (other than disabling "r"
> in subshells entirely).

I suppose removing duplicates could be disabled in subshells as well?

pws



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