mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
docs: move discussion of fishd file to universal variable section
This commit is contained in:
parent
e17f6fb2dc
commit
c10aab77da
1 changed files with 2 additions and 3 deletions
|
@ -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.
|
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
|
\subsection variables-functions Variable scope for functions
|
||||||
|
|
||||||
|
@ -1042,9 +1044,6 @@ end
|
||||||
\endfish
|
\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
|
\section other Other features
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue