OS Manuals

fish_right_prompt(1)

fish_right_prompt - define the appearance of the right-side command line prompt

FISH_RIGHT_PROMPT(1) fish-shell FISH_RIGHT_PROMPT(1)

fish_right_prompt - define the appearance of the right-side command line prompt

function fish_right_prompt

... end


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.

If fish_transient_prompt <#envvar-fish_transient_prompt> is set to 1, fish_right_prompt --final-rendering is run before executing the commandline.

A simple right prompt:

function fish_right_prompt -d "Write out the right prompt"

date '+%m/%d/%y' end


fish-shell developers

October 15, 2026 4.9

fish 4.9.3-r3 · os · ingested 2026-10-16