Added small note to the fish_prompt doc

This commit is contained in:
Dario Bertini 2012-07-10 19:11:21 +02:00 committed by ridiculousfish
parent 193bbd4e00
commit 6819696222

View file

@ -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: