aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc_src
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-11-07 19:59:20 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-11-07 19:59:20 -0800
commitd76f880faf18bccd4e8a47b7a6d4144a165df7ba (patch)
tree2ba5db467fa19d1db42f13cf1da04ed39ca9ffb1 /doc_src
parent21e83a881e59916cd4ad76c232e5857ef111be84 (diff)
Support for fish_right_prompt
Diffstat (limited to 'doc_src')
-rw-r--r--doc_src/fish_prompt.txt2
-rw-r--r--doc_src/fish_right_prompt.txt23
2 files changed, 24 insertions, 1 deletions
diff --git a/doc_src/fish_prompt.txt b/doc_src/fish_prompt.txt
index 52dbbeb3..41fd1ea4 100644
--- a/doc_src/fish_prompt.txt
+++ b/doc_src/fish_prompt.txt
@@ -1,6 +1,6 @@
\section fish_prompt fish_prompt - define the apperance of the command line prompt
-\subsection fish_promt-synopsis Synopsis
+\subsection fish_prompt-synopsis Synopsis
<pre>function fish_prompt
...
end</pre>
diff --git a/doc_src/fish_right_prompt.txt b/doc_src/fish_right_prompt.txt
new file mode 100644
index 00000000..b8574851
--- /dev/null
+++ b/doc_src/fish_right_prompt.txt
@@ -0,0 +1,23 @@
+\section fish_right_prompt fish_right_prompt - define the apperance of the right-side command line prompt
+
+\subsection fish_right_prompt-synopsis Synopsis
+<pre>function fish_right_prompt
+ ...
+end</pre>
+
+\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.
+
+Multiple lines are not supported in \c fish_right_prompt.
+
+\subsection fish_prompt-example Example
+
+A simple right prompt:
+
+<pre>
+function fish_right_prompt -d "Write out the right prompt"
+ date "+%m/%d/%y"
+end
+</pre>
+