Document that appending to universal variables in config.fish is not a

good idea

Fixes #2058.
This commit is contained in:
Fabian Homborg 2016-01-16 15:02:51 +01:00
parent 08edfaeae8
commit 4eb6aaf36f

View file

@ -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