mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-28 13:53:10 +00:00
18 lines
564 B
Text
18 lines
564 B
Text
|
\section functions functions - print or erase functions
|
||
|
|
||
|
\subsection function-synopsis Synopsis
|
||
|
<tt>functions [-e] FUNCTIONS...</tt>
|
||
|
|
||
|
\subsection functions-description Description
|
||
|
|
||
|
This builtin command is used to print or erase functions.
|
||
|
|
||
|
- <tt>-e</tt> or <tt>--erase</tt> causes the specified functions to be erased.
|
||
|
- <tt>-n</tt> or <tt>--names</tt> List only the names of all defined functions
|
||
|
|
||
|
If \c functions is called with no arguments, the names and definition
|
||
|
of all functions are printed, otherwise, the specified function
|
||
|
definitions will be printed.
|
||
|
|
||
|
|