aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--doc_src/fish_prompt.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc_src/fish_prompt.txt b/doc_src/fish_prompt.txt
index 4d8735b1..22ea1643 100644
--- a/doc_src/fish_prompt.txt
+++ b/doc_src/fish_prompt.txt
@@ -11,6 +11,9 @@ By defining the \c fish_prompt function, the user can choose a custom
prompt. The \c fish_prompt function is executed when the prompt is to
be shown, and the output is used as a prompt.
+Please keep in mind that the function is executed by <a
+href='./index.html#expand-command-substitution'>command substitution</a> and so, even though on the outside it won't change, it's still possible to locally redefine variables and have the status variable changed.
+
\subsection fish_prompt-example Example
A simple prompt: