diff --git a/doc_src/cmds/funced.rst b/doc_src/cmds/funced.rst index 63dc0307f..7f0a671e2 100644 --- a/doc_src/cmds/funced.rst +++ b/doc_src/cmds/funced.rst @@ -48,4 +48,4 @@ When you're done, use:: >_ funcsave fish_prompt -For more, see :doc:`funcsave `. +For more, see :doc:`funcsave `. To view a function's current definition, use :doc:`functions ` or :doc:`type `. diff --git a/doc_src/cmds/funcsave.rst b/doc_src/cmds/funcsave.rst index ff01e7088..e0eb4519b 100644 --- a/doc_src/cmds/funcsave.rst +++ b/doc_src/cmds/funcsave.rst @@ -22,3 +22,5 @@ If you have erased a function using :doc:`functions `'s ``--erase`` o Because fish loads functions on-demand, saved functions cannot serve as :ref:`event handlers ` until they are run or otherwise sourced. To activate an event handler for every new shell, add the function to the :ref:`configuration file ` instead of using ``funcsave``. This is often used after :doc:`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 ` or :doc:`type `.