commit bash-20201218 snapshot

This commit is contained in:
Chet Ramey
2020-12-25 18:17:33 -05:00
parent 975643bb2b
commit 3c5683a47b
29 changed files with 1487 additions and 1447 deletions
+3 -3
View File
@@ -6844,7 +6844,7 @@ See @ref{Controlling the Prompt}, for a complete list of prompt
string escape sequences.
@item
Bash executes the values of the set elements of the @env{PROMPT_COMMANDS}
Bash executes the values of the set elements of the @env{PROMPT_COMMAND}
array variable as commands before printing the primary prompt, @env{$PS1}
(@pxref{Bash Variables}).
@@ -7522,9 +7522,9 @@ to the @code{cd} builtin.
@section Controlling the Prompt
@cindex prompting
Bash examines the value of the array variable @env{PROMPT_COMMANDS} just before
Bash examines the value of the array variable @env{PROMPT_COMMAND} just before
printing each primary prompt.
If any elements in @env{PROMPT_COMMANDS} are set and non-null, Bash
If any elements in @env{PROMPT_COMMAND} are set and non-null, Bash
executes each value, in numeric order,
just as if it had been typed on the command line.