mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 13:39:02 +00:00
docs: clarify fish_greeting function and variable in FAQ
Tidy fish_greeting section in main documentation. Closes #1506.
This commit is contained in:
parent
0f15ab8d05
commit
f4bc1ef4a2
2 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue