aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc_src/prevd.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/prevd.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/prevd.txt')
-rw-r--r--doc_src/prevd.txt17
1 files changed, 11 insertions, 6 deletions
diff --git a/doc_src/prevd.txt b/doc_src/prevd.txt
index e49faff2..8bead8a1 100644
--- a/doc_src/prevd.txt
+++ b/doc_src/prevd.txt
@@ -1,26 +1,31 @@
\section prevd prevd - move backward through directory history
\subsection prevd-synopsis Synopsis
-<tt>prevd [-l | --list] [POS]</tt>
+\fish{syn}
+prevd [ -l | --list ] [POS]
+\endfish
\subsection prevd-description Description
-<tt>prevd</tt> moves backwards <tt>POS</tt> positions in the history
+`prevd` moves backwards `POS` positions in the history
of visited directories; if the beginning of the history has been hit,
a warning is printed.
-If the <code>-l</code> or <code>--list</code> flag is specified, the current
+If the `-l` or `--list` flag is specified, the current
history is also displayed.
\subsection prevd-example Example
-\code
+\fish
cd /usr/src
# Working directory is now /usr/src
+
cd /usr/src/fish-shell
# Working directory is now /usr/src/fish-shell
+
prevd
# Working directory is now /usr/src
+
nextd
-# Working directory is now /usr/src/fish-shell</pre>
-\endcode
+# Working directory is now /usr/src/fish-shell
+\endfish