diff options
author | Dario Bertini <berdario@gmail.com> | 2012-07-10 19:11:21 +0200 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-07-12 14:52:15 -0700 |
commit | 681969622299273885eb7ac2998bde1d800d6646 (patch) | |
tree | 2630f23a0fcea5de2b22cffa6f3be32fa2a39eb8 /doc_src/fish_prompt.txt | |
parent | 193bbd4e00640791321af427314bd53fad8fd7db (diff) |
Added small note to the fish_prompt doc
Diffstat (limited to 'doc_src/fish_prompt.txt')
-rw-r--r-- | doc_src/fish_prompt.txt | 3 |
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: |