mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-12 06:30:50 +02:00
commit bash-20201218 snapshot
This commit is contained in:
+3
-3
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user