On 2/7/23 9:00 AM, Emanuele Torre wrote:
Before this patch, if allexport was set, $_ gained the "x" attribute
after PROMPT_COMMAND finished running, that would only get removed after
the next simple command is executed.
Thanks for the report. This is a good fix.
--
``The lyf so short, the craf
Before this patch, if allexport was set, $_ gained the "x" attribute
after PROMPT_COMMAND finished running, that would only get removed after
the next simple command is executed.
$ PROMPT_COMMAND=:
$ : foo
$ declare -p _
declare -- _="foo"
$ set -a
$ : bar
$ declare -p _
declare -x