aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc_src/eval.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc_src/eval.txt')
-rw-r--r--doc_src/eval.txt15
1 files changed, 8 insertions, 7 deletions
diff --git a/doc_src/eval.txt b/doc_src/eval.txt
index 0227255a..1ba8f97e 100644
--- a/doc_src/eval.txt
+++ b/doc_src/eval.txt
@@ -1,19 +1,20 @@
\section eval eval - evaluate the specified commands
\subsection eval-synopsis Synopsis
-<tt>eval [COMMANDS...]</tt>
+\fish{synopsis}
+eval [COMMANDS...]
+\endfish
\subsection eval-description Description
-<tt>eval</tt> evaluates the specified parameters as a command. If more than one parameter is specified, all parameters will be joined using a space character as a separator.
+`eval` evaluates the specified parameters as a command. If more than one parameter is specified, all parameters will be joined using a space character as a separator.
+
\subsection eval-example Example
-The folloing code will call the ls command. Note that \c fish does not
-support the use of environment variables as direct commands; \c eval can
-be used to work around this.
+The following code will call the ls command. Note that `fish` does not support the use of shell variables as direct commands; `eval` can be used to work around this.
-<pre>
+\fish
set cmd ls
eval $cmd
-</pre>
+\endfish