mirror of
https://github.com/fish-shell/fish-shell
synced 2024-09-22 23:42:00 +00: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
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue