mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-04-27 23:11:15 -03:00
Rework for Doxygen >1.8. Moved large parts of the documentation to a simplified format, making use of Markdown enhancements and fixing bad long options.
24 lines
745 B
Plaintext
24 lines
745 B
Plaintext
\section funced funced - edit a function interactively
|
|
|
|
\subsection funced-synopsis Synopsis
|
|
\fish{syn}
|
|
funced [OPTIONS] NAME
|
|
\endfish
|
|
|
|
\subsection funced-description Description
|
|
|
|
`funced` provides an interface to edit the definition of the function
|
|
`NAME`.
|
|
|
|
If the `$EDITOR` environment variable is set, it will be used as the program
|
|
to edit the function. Otherwise, a built-in editor will be used.
|
|
|
|
If there is no function called `NAME` a new function will be created with
|
|
the specified name
|
|
|
|
- `-e command` or `--editor command` Open the function
|
|
body inside the text editor given by the command (for example, "vi"). The
|
|
command 'fish' will use the built-in editor.
|
|
- `-i` or `--interactive` Open function body in the
|
|
built-in editor.
|