aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc_src
diff options
context:
space:
mode:
authorGravatar Fabian Homborg <FHomborg@gmail.com>2016-01-16 15:02:51 +0100
committerGravatar Fabian Homborg <FHomborg@gmail.com>2016-01-24 14:32:43 +0100
commit4eb6aaf36fd910a37550d08b0242688cd8da66af (patch)
tree2eea098155f589962d85b4ece7638ebc3841ef76 /doc_src
parent08edfaeae8d269ccabf8a6a03733cc37e666e547 (diff)
Document that appending to universal variables in config.fish is not a
good idea Fixes #2058.
Diffstat (limited to 'doc_src')
-rw-r--r--doc_src/index.hdr.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc_src/index.hdr.in b/doc_src/index.hdr.in
index 960ef698..b948d088 100644
--- a/doc_src/index.hdr.in
+++ b/doc_src/index.hdr.in
@@ -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