aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc_src/fish_right_prompt.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc_src/fish_right_prompt.txt')
-rw-r--r--doc_src/fish_right_prompt.txt17
1 files changed, 9 insertions, 8 deletions
diff --git a/doc_src/fish_right_prompt.txt b/doc_src/fish_right_prompt.txt
index afe0750a..15f1f95b 100644
--- a/doc_src/fish_right_prompt.txt
+++ b/doc_src/fish_right_prompt.txt
@@ -1,23 +1,24 @@
\section fish_right_prompt fish_right_prompt - define the appearance of the right-side command line prompt
\subsection fish_right_prompt-synopsis Synopsis
-<pre>function fish_right_prompt
+\fish{syn}
+function fish_right_prompt
...
-end</pre>
+end
+\endfish
\subsection fish_right_prompt-description Description
-\c fish_right_prompt is similar to \c fish_prompt, except that it appears on the right side of the terminal window.
+`fish_right_prompt` is similar to `fish_prompt`, except that it appears on the right side of the terminal window.
-Multiple lines are not supported in \c fish_right_prompt.
+Multiple lines are not supported in `fish_right_prompt`.
-\subsection fish_prompt-example Example
+\subsection fish_right_prompt-example Example
A simple right prompt:
-
-<pre>
+\fish
function fish_right_prompt -d "Write out the right prompt"
date "+%m/%d/%y"
end
-</pre>
+\endfish