docs: Mention that reloading can take a bit

Fixes #7064.
This commit is contained in:
Fabian Homborg 2020-05-30 10:05:24 +02:00
parent 4f6851b19f
commit 99c2c599f3

View file

@ -390,7 +390,7 @@ Autoloading functions
Functions can be defined on the commandline or in a configuration file, but they can also be automatically loaded. This has some advantages:
- An autoloaded function becomes available automatically to all running shells.
- If the function definition is changed, all running shells will automatically reload the altered version.
- If the function definition is changed, all running shells will automatically reload the altered version, after a while.
- Startup time and memory usage is improved, etc.
When fish needs to load a function, it searches through any directories in the :ref:`list variable <variables-lists>` ``$fish_function_path`` for a file with a name consisting of the name of the function plus the suffix ``.fish`` and loads the first it finds.