mirror of
https://github.com/fish-shell/fish-shell
synced 2024-09-21 06:51:58 +00:00
Updated funced documentation to reflect new behavior
This commit is contained in:
parent
a8bae31939
commit
3ab26a5d40
1 changed files with 5 additions and 3 deletions
|
@ -1,11 +1,13 @@
|
|||
\section funced funced - edit a function interactively
|
||||
|
||||
\subsection funced-synopsis Synopsis
|
||||
<code>funced [-e] NAME</code>
|
||||
<code>funced [-e editor] NAME</code>
|
||||
|
||||
\subsection funced-description Description
|
||||
|
||||
Use the funced command to interactively edit the definition of a
|
||||
function. If there is no function with the name specified, a skeleton function is inserted, if a function exist, the definion will be shown on the command line.
|
||||
function. If there is no function with the name specified, a skeleton function is inserted, if a function exist, the definion will be shown in your editor or on the command line.
|
||||
|
||||
- <code>-e</code> or <code>--editor</code> open function body inside external editor
|
||||
By default, funced edits functions using the text editor in your $EDITOR variable, if set; otherwise it uses the built-in editor.
|
||||
|
||||
- <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.
|
||||
|
|
Loading…
Reference in a new issue