mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-04-24 03:21:15 -03:00
@@ -22,3 +22,5 @@ If you have erased a function using :doc:`functions <functions>`'s ``--erase`` o
|
||||
Because fish loads functions on-demand, saved functions cannot serve as :ref:`event handlers <event>` until they are run or otherwise sourced. To activate an event handler for every new shell, add the function to the :ref:`configuration file <configuration>` instead of using ``funcsave``.
|
||||
|
||||
This is often used after :doc:`funced <funced>`, which opens the function in ``$EDITOR`` or ``$VISUAL`` and loads it into the current session afterwards.
|
||||
|
||||
To view a function's current definition, use :doc:`functions <functions>` or :doc:`type <type>`.
|
||||
|
||||
Reference in New Issue
Block a user