mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-01-19 19:22:45 +08:00
Document that appending to universal variables in config.fish is not a
good idea Fixes #2058.
This commit is contained in:
parent
08edfaeae8
commit
4eb6aaf36f
|
@ -669,6 +669,8 @@ To see universal variables in action, start two fish sessions side by side, and
|
|||
|
||||
<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.
|
||||
|
||||
Do not append to universal variables in <a href="index.html#initialization">config.fish</a>, because these variables will then get longer with each new shell instance. Instead, simply set them once at the command line.
|
||||
|
||||
|
||||
\subsection variables-functions Variable scope for functions
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user