aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc_src/fish_prompt.txt
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-07-13 21:32:50 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-07-13 21:32:50 -0700
commit8643870822c313977bcdf0419053ae18d282afaa (patch)
tree70027b2386619df901e8dfac24b9d52204606bfa /doc_src/fish_prompt.txt
parent681969622299273885eb7ac2998bde1d800d6646 (diff)
Tweaked fish_prompt document in a way I hope clarifies it
Diffstat (limited to 'doc_src/fish_prompt.txt')
-rw-r--r--doc_src/fish_prompt.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc_src/fish_prompt.txt b/doc_src/fish_prompt.txt
index 22ea1643..52dbbeb3 100644
--- a/doc_src/fish_prompt.txt
+++ b/doc_src/fish_prompt.txt
@@ -12,7 +12,7 @@ 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.
+href='index.html#expand-command-substitution'>command substitution</a>, and so the exit status of commands within fish_prompt will not modify the <a href="index.html#variables-status">$status</a> seen outside of fish_prompt.
\subsection fish_prompt-example Example