2013-04-13 21:17:19 +00:00
|
|
|
\section fish_right_prompt fish_right_prompt - define the appearance of the right-side command line prompt
|
2012-11-08 03:59:20 +00:00
|
|
|
|
|
|
|
\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>
|
|
|
|
|