mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 12:04:39 +08:00
1287b9d823
Large list of changes, including formatting and typos for most commands. More substantive changes have been made to alias, bind, block, break, builtin, case, cd, commandline, count, else, emit, fish_config, funced, function, functions, history, math, mimedb, nextd, not, popd, prevd, pushd, pwd, random, read, set, set_color, switch, test, trap, type, ulimit, umask, and while.
22 lines
797 B
Plaintext
22 lines
797 B
Plaintext
\section funced funced - edit a function interactively
|
|
|
|
\subsection funced-synopsis Synopsis
|
|
<code>funced [OPTIONS] NAME</code>
|
|
|
|
\subsection funced-description Description
|
|
|
|
\c funced provides an interface to edit the definition of the function
|
|
<code>NAME</code>.
|
|
|
|
If the \c $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 \c NAME a new function will be created with
|
|
the specified name
|
|
|
|
- <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.
|