[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Manual still incorrectly mentions PROMPT_COMMANDS
From: |
Chet Ramey |
Subject: |
Re: Manual still incorrectly mentions PROMPT_COMMANDS |
Date: |
Mon, 21 Dec 2020 08:59:20 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.5.1 |
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 chet@case.edu http://tiswww.cwru.edu/~chet/