mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-21 11:31:15 -03:00
docs: Also mention functions and type
One of the nicest things about fish is how introspectable it is. We should probably get people to just mess around and see what is implemented how. This is a step in that direction. [ci skip]
This commit is contained in:
@@ -385,6 +385,8 @@ Fish's prompt is also defined in a function, called :ref:`fish_prompt <cmd-fish_
|
||||
|
||||
To edit a function, you can use :ref:`funced <cmd-funced>`, and to save a function :ref:`funcsave <cmd-funcsave>`. This will store it in a function file that fish will :ref:`autoload <syntax-function-autoloading>` when needed.
|
||||
|
||||
The :ref:`functions <cmd-functions>` builtin can show a function's current definition (and :ref:`type <cmd-type>` will also do if given a function).
|
||||
|
||||
For more information on functions, see the documentation for the :ref:`function <cmd-function>` builtin.
|
||||
|
||||
.. _syntax-function-wrappers:
|
||||
|
||||
Reference in New Issue
Block a user