mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
33 lines
571 B
ReStructuredText
33 lines
571 B
ReStructuredText
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
|
|
|
|
|