docs: clarify fish_greeting function and variable in FAQ

Tidy fish_greeting section in main documentation.

Closes #1506.
This commit is contained in:
David Adam 2014-06-18 17:29:59 +08:00
parent 0f15ab8d05
commit f4bc1ef4a2
2 changed files with 5 additions and 5 deletions

View file

@ -226,8 +226,8 @@ fish_title function will not work.
\section faq-greeting How do I change the greeting message?
Change the value of the variable fish_greeting. For example, to remove
the greeting use:
Change the value of the variable \c fish_greeting or create a \c fish_greeting
function. For example, to remove the greeting use:
<pre>
set fish_greeting

View file

@ -1320,9 +1320,9 @@ end
\subsection greeting Configurable greeting
If a function named fish_greeting exists after initialization, it will
be run when entering interactive mode. Otherwise,if an environment
variable named fish_greeting exists, it will be printed.
If a function named \c fish_greeting exists, it will be run when entering
interactive mode. Otherwise, if an environment variable named \c fish_greeting
exists, it will be printed.
\subsection event Event handlers