From 8643870822c313977bcdf0419053ae18d282afaa Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Fri, 13 Jul 2012 21:32:50 -0700 Subject: [PATCH] Tweaked fish_prompt document in a way I hope clarifies it --- doc_src/fish_prompt.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc_src/fish_prompt.txt b/doc_src/fish_prompt.txt index 22ea16434..52dbbeb37 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 command substitution 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, and so the exit status of commands within fish_prompt will not modify the $status seen outside of fish_prompt. \subsection fish_prompt-example Example