diff options
Diffstat (limited to 'doc_src/fish_prompt.txt')
-rw-r--r-- | doc_src/fish_prompt.txt | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/doc_src/fish_prompt.txt b/doc_src/fish_prompt.txt index 57cc5c24..1beb5304 100644 --- a/doc_src/fish_prompt.txt +++ b/doc_src/fish_prompt.txt @@ -7,17 +7,14 @@ function fish_prompt end \endfish - \subsection fish_prompt-description Description -By defining the `fish_prompt` function, the user can choose a custom -prompt. The `fish_prompt` function is executed when the prompt is to -be shown, and the output is used as a prompt. +By defining the `fish_prompt` function, the user can choose a custom prompt. The `fish_prompt` function is executed when the prompt is to be shown, and the output is used as a prompt. The exit status of commands within `fish_prompt` will not modify the value of <a href="index.html#variables-status">$status</a> outside of the `fish_prompt` function. -`fish` ships with a number of example prompts that can be chosen with the -`fish_config` command. +`fish` ships with a number of example prompts that can be chosen with the `fish_config` command. + \subsection fish_prompt-example Example |