aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc_src/funced.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc_src/funced.txt')
-rw-r--r--doc_src/funced.txt21
1 files changed, 9 insertions, 12 deletions
diff --git a/doc_src/funced.txt b/doc_src/funced.txt
index 8b070b97..143efba4 100644
--- a/doc_src/funced.txt
+++ b/doc_src/funced.txt
@@ -1,21 +1,18 @@
\section funced funced - edit a function interactively
\subsection funced-synopsis Synopsis
- <code>funced [OPTIONS] NAME</code>
+\fish{synopsis}
+funced [OPTIONS] NAME
+\endfish
\subsection funced-description Description
-\c funced provides an interface to edit the definition of the function
-<code>NAME</code>.
+`funced` provides an interface to edit the definition of the function `NAME`.
-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 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 \c NAME a new function will be created with
-the specified name
+If there is no function called `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.
+- `-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.