fish-shell/doc_src/funced.txt

21 lines
834 B
Text
Raw Normal View History

\section funced funced - edit a function interactively
\subsection funced-synopsis Synopsis
<code>funced [OPTIONS] NAME</code>
\subsection funced-description Description
2013-04-22 01:13:18 +00:00
Use the funced command to edit the definition of a function. If there is no
function with the name specified, a skeleton function is inserted. If the
function exists, its definition will be shown in your editor or on the command
line.
2013-04-22 01:13:18 +00:00
By default, funced edits functions using the text editor in your $EDITOR
variable, if set; otherwise it uses the built-in editor.
2013-04-22 01:13:18 +00:00
- <code>-e command</code> or <code>--editor command</code> Open the function
body inside the text editor given by the command (for example, "vi"). The
command 'fish' will use the built-in editor.
- <code>-i</code> or <code>--interactive</code> Open function body in the
built-in editor.