> Thanks for the report. In the general case, evaluating the value of a shell
> variable as a command should save and restore the parser state. In this
> edge case, though, it's not necessary because PROMPT_COMMAND is only
> evaluated before parsing a command. The attached patch should fix it.

Thanks for the patch! I applied it and it fixes the issue - no more segfault.

Cheers,
Carl

Reply via email to