On 12/20/20 8:39 PM, Eli Schwartz wrote:
 From CWRU/changelog:

3/23
----
eval.c
- execute_prompt_command: if an array variable PROMPT_COMMANDS exists, prefer it to PROMPT_COMMAND and execute all of the commands contained as array elements in index order.

doc/{bash.1,bashref.texi}
- PROMPT_COMMANDS: new array variable


8/25
----
eval.c
- execute_prompt_command: PROMPT_COMMAND can now be an array, subsuming PROMPT_COMMANDS, which bash no longer looks for.

But, this never got removed from

https://git.savannah.gnu.org/cgit/bash.git/tree/doc/bashref.texi?h=devel&id=3f17ceca108d77c5e506f03c8051f0ff13a0e11c#n6846 https://git.savannah.gnu.org/cgit/bash.git/tree/doc/bashref.texi?h=devel&id=3f17ceca108d77c5e506f03c8051f0ff13a0e11c#n7525

Thanks for the report.

Chet


--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    c...@case.edu    http://tiswww.cwru.edu/~chet/

Reply via email to