aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc_src/funcsave.txt
diff options
context:
space:
mode:
authorGravatar Fabian Homborg <FHomborg@gmail.com>2015-09-11 11:31:04 +0200
committerGravatar Fabian Homborg <FHomborg@gmail.com>2015-09-11 11:33:04 +0200
commit2c648c80c83de50620e4c216a59024398f4e152e (patch)
tree6491c193decbbff0586b49c1b730e2dcdc0380bd /doc_src/funcsave.txt
parentb8d9ba993dbb3bccabfcdd10e754b6a5832546d7 (diff)
docs: Improve autoloading/event documentation
The thing that says "event handlers can't be autoloaded, put it in config.fish". I make good words.
Diffstat (limited to 'doc_src/funcsave.txt')
-rw-r--r--doc_src/funcsave.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc_src/funcsave.txt b/doc_src/funcsave.txt
index d47ae8e7..32b3f4f3 100644
--- a/doc_src/funcsave.txt
+++ b/doc_src/funcsave.txt
@@ -9,4 +9,4 @@ funcsave FUNCTION_NAME
`funcsave` saves the current definition of a function to a file in the fish configuration directory. This function will be automatically loaded by current and future fish sessions. This can be useful if you have interactively created a new function and wish to save it for later use.
-Note that event handlers will not be executed before they are loaded.
+Note that because fish loads functions on-demand, saved functions will not function as <a href="index.html#event">event handlers</a> until they are run or sourced otherwise. To activate an event handler for every new shell, add the function to your <a href="index.html#initialization">shell initialization file</a> instead of using `funcsave`.