From d76f880faf18bccd4e8a47b7a6d4144a165df7ba Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Wed, 7 Nov 2012 19:59:20 -0800 Subject: Support for fish_right_prompt Fixes https://github.com/fish-shell/fish-shell/issues/80 --- doc_src/fish_right_prompt.txt | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 doc_src/fish_right_prompt.txt (limited to 'doc_src/fish_right_prompt.txt') 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 +
function fish_right_prompt
+    ...
+end
+ +\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: + +
+function fish_right_prompt -d "Write out the right prompt"
+    date "+%m/%d/%y"
+end
+
+ -- cgit v1.2.3