docs: move discussion of fishd file to universal variable section

This commit is contained in:
David Adam 2015-03-25 17:01:43 +08:00
parent e17f6fb2dc
commit c10aab77da

View file

@ -633,6 +633,8 @@ Universal variables are variables that are shared between all the users fish ses
To see universal variables in action, start two fish sessions side by side, and issue the following command in one of them `set fish_color_cwd blue`. Since `fish_color_cwd` is a universal variable, the color of the current working directory listing in the prompt will instantly change to blue on both terminals.
<a href="#variables-universal">Universal variables</a> are stored in the file `.config/fish/fishd.MACHINE_ID`, where MACHINE_ID is typically your MAC address. Do not edit this file directly, as your edits may be overwritten. Edit them through fish scripts or by using fish interactively instead.
\subsection variables-functions Variable scope for functions
@ -1042,9 +1044,6 @@ end
\endfish
<a href="#variables-universal">Universal variables</a> are stored in the file `.config/fish/fishd.MACHINE_ID`, where MACHINE_ID is typically your MAC address. Do not edit this file directly, as your edits may be overwritten. Edit them through fish scripts or by using fish interactively instead.
\section other Other features