aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc_src/fish_right_prompt.txt
diff options
context:
space:
mode:
authorGravatar Mark Griffiths <mark@thebespokepixel.com>2014-08-01 03:37:32 +0100
committerGravatar Mark Griffiths <mark@thebespokepixel.com>2014-09-03 14:43:24 +0100
commitd282bc462578a6e47747c78d2d42883530f0d11e (patch)
treea6515e908d4fc1c400cb6cebaf79b1590b005804 /doc_src/fish_right_prompt.txt
parent1c4223889bd729ee83aa21a3450dc28f92ade641 (diff)
Documentation update
Rework for Doxygen >1.8. Moved large parts of the documentation to a simplified format, making use of Markdown enhancements and fixing bad long options.
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