mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-10 15:14:44 +00: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:
parent
b485daa987
commit
65f932edd2
1 changed files with 2 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue