diff options
author | David Adam (zanchey) <zanchey@ucc.gu.uwa.edu.au> | 2013-05-12 15:56:01 +0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2013-05-13 01:48:20 -0700 |
commit | 1287b9d82382bf22e16edda67eae755f07397f2e (patch) | |
tree | 811814b029d65ac11a193e616ca4a71d216dbe0c /doc_src/funced.txt | |
parent | 91aab03b90a6b583a3c0ecff5b015c6066d34f28 (diff) |
Help cleanup
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.
Diffstat (limited to 'doc_src/funced.txt')
-rw-r--r-- | doc_src/funced.txt | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/doc_src/funced.txt b/doc_src/funced.txt index 19a12f3b..8b070b97 100644 --- a/doc_src/funced.txt +++ b/doc_src/funced.txt @@ -5,13 +5,14 @@ \subsection funced-description Description -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. +\c funced provides an interface to edit the definition of the function +<code>NAME</code>. -By default, funced edits functions using the text editor in your $EDITOR -variable, if set; otherwise it uses the built-in editor. +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 |