mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-31 03:51:14 -03:00
We no longer have two doc systems, move sphinx_doc_src back to doc_src
This commit is contained in:
37
doc_src/cmds/fish_right_prompt.rst
Normal file
37
doc_src/cmds/fish_right_prompt.rst
Normal file
@@ -0,0 +1,37 @@
|
||||
.. _cmd-fish_right_prompt:
|
||||
|
||||
fish_right_prompt - define the appearance of the right-side command line prompt
|
||||
===============================================================================
|
||||
|
||||
Synopsis
|
||||
--------
|
||||
|
||||
::
|
||||
|
||||
function fish_right_prompt
|
||||
...
|
||||
end
|
||||
|
||||
|
||||
Description
|
||||
-----------
|
||||
|
||||
``fish_right_prompt`` is similar to ``fish_prompt``, except that it appears on the right side of the terminal window.
|
||||
|
||||
Multiple lines are not supported in ``fish_right_prompt``.
|
||||
|
||||
|
||||
Example
|
||||
-------
|
||||
|
||||
A simple right prompt:
|
||||
|
||||
|
||||
|
||||
::
|
||||
|
||||
function fish_right_prompt -d "Write out the right prompt"
|
||||
date '+%m/%d/%y'
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user