aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc_src/exec.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc_src/exec.txt')
-rw-r--r--doc_src/exec.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc_src/exec.txt b/doc_src/exec.txt
index 27f6d887..f8936101 100644
--- a/doc_src/exec.txt
+++ b/doc_src/exec.txt
@@ -1,15 +1,15 @@
\section exec exec - execute command in current process
\subsection exec-synopsis Synopsis
- <tt>exec COMMAND [OPTIONS...]</tt>
+\fish{synopsis}
+exec COMMAND [OPTIONS...]
+\endfish
\subsection exec-description Description
-\c exec replaces the currently running shell with a new command.
-On successful completion, \c exec never returns. \c exec cannot be used
-inside a pipeline.
+`exec` replaces the currently running shell with a new command. On successful completion, `exec` never returns. `exec` cannot be used inside a pipeline.
+
\subsection exec-example Example
-<tt>exec emacs</tt> starts up the emacs text editor, and exits \c fish.
-When emacs exits, the session will terminate.
+`exec emacs` starts up the emacs text editor, and exits `fish`. When emacs exits, the session will terminate.