Re: Segfault when running alias if PROMPT_COMMAND is not empty

2025-07-19 Thread Chet Ramey
On 7/19/25 5:07 AM, Sam James wrote: 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 at

Re: Segfault when running alias if PROMPT_COMMAND is not empty

2025-07-19 Thread Sam James
Chet Ramey writes: > On 7/5/25 2:57 PM, Carl Johnson wrote: > >> Bash Version: 5.3 >> Patch Level: 0 >> Release Status: release >> Description: >> When alias definition contains the 'unalias' builtin with the alias's >> name as its argument with a newline anywhere after the builtin >> invocation,