aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc_src/fish_right_prompt.txt
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/fish_right_prompt.txt
parent21e83a881e59916cd4ad76c232e5857ef111be84 (diff)
Support for fish_right_prompt
Diffstat (limited to 'doc_src/fish_right_prompt.txt')
-rw-r--r--doc_src/fish_right_prompt.txt23
1 files changed, 23 insertions, 0 deletions
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>
+