FISH_SVN_PROMPT(1)
okay so bestie, this is fish_svn_prompt(1) from fish-shell β the prompt helper thatβs lowkey iconic β¨. Itβs giving βSubversion info but make it cute,β and weβre obsessed π«Ά.
π NAME π
fish_svn_prompt β output Subversion information for use in a prompt. Thatβs it, thatβs the whole vibe π
.
πΈ SYNOPSIS πΈ
fish_svn_prompt
and like, hereβs how you slot it into a prompt, fr fr:
function fish_prompt
printf '%s' $PWD (fish_svn_prompt) ' $ '
end
π¦ DESCRIPTION π¦
The fish_svn_prompt function displays information about the current Subversion repository, if any. No cap β if thereβs an svn repo in play, this function is ready to spill the details π
.
π¨ real talk: Subversion <https://subversion.apache.org/> (svn) must be installed. Like, actually installed. The function canβt manifest it out of thin air, bestie π.
There are numerous customization options, which can be controlled with fish variables. Yes, you read that right β numerous. Tune it till it slays π.
__fish_svn_prompt_color_revisionβ the colour of the revision number to display in the prompt π¨__fish_svn_prompt_char_separatorβ the separator between status characters π§
A number of variables control the symbol ("display") and color ("color") for the different status indicators. Hereβs the full roster, bestie β every single one, no skipping, periodt:
__fish_svn_prompt_char_added_displayβ the display symbol for added__fish_svn_prompt_char_added_colorβ the colour value for added__fish_svn_prompt_char_conflicted_displayβ the display symbol for conflicted__fish_svn_prompt_char_conflicted_colorβ the colour value for conflicted__fish_svn_prompt_char_deleted_displayβ the display symbol for deleted__fish_svn_prompt_char_deleted_colorβ the colour value for deleted__fish_svn_prompt_char_ignored_displayβ the display symbol for ignored__fish_svn_prompt_char_ignored_colorβ the colour value for ignored__fish_svn_prompt_char_modified_displayβ the display symbol for modified__fish_svn_prompt_char_modified_colorβ the colour value for modified__fish_svn_prompt_char_replaced_displayβ the display symbol for replaced__fish_svn_prompt_char_replaced_colorβ the colour value for replaced__fish_svn_prompt_char_unversioned_external_displayβ the display symbol for unversioned external__fish_svn_prompt_char_unversioned_external_colorβ the colour value for unversioned external__fish_svn_prompt_char_unversioned_displayβ the display symbol for unversioned__fish_svn_prompt_char_unversioned_colorβ the colour value for unversioned__fish_svn_prompt_char_missing_displayβ the display symbol for missing__fish_svn_prompt_char_missing_colorβ the colour value for missing__fish_svn_prompt_char_versioned_obstructed_displayβ the display symbol for versioned obstructed__fish_svn_prompt_char_versioned_obstructed_colorβ the colour value for versioned obstructed__fish_svn_prompt_char_locked_displayβ the display symbol for locked__fish_svn_prompt_char_locked_colorβ the colour value for locked__fish_svn_prompt_char_scheduled_displayβ the display symbol for scheduled__fish_svn_prompt_char_scheduled_colorβ the colour value for scheduled__fish_svn_prompt_char_switched_displayβ the display symbol for switched__fish_svn_prompt_char_switched_colorβ the colour value for switched__fish_svn_prompt_char_token_present_displayβ the display symbol for token present__fish_svn_prompt_char_token_present_colorβ the colour value for token present__fish_svn_prompt_char_token_other_displayβ the display symbol for token other__fish_svn_prompt_char_token_other_colorβ the colour value for token other__fish_svn_prompt_char_token_stolen_displayβ the display symbol for token stolen__fish_svn_prompt_char_token_stolen_colorβ the colour value for token stolen__fish_svn_prompt_char_token_broken_displayβ the display symbol for token broken__fish_svn_prompt_char_token_broken_colorβ the colour value for token broken
See also fish_vcs_prompt <>, which will call all supported version control prompt functions, including git, Mercurial and Subversion. Itβs the group chat that pulls everyone in π.
π EXAMPLE π
A simple prompt that displays svn info:
function fish_prompt
...
printf '%s %s$' $PWD (fish_svn_prompt)
end
This is literally the plug-and-play vibe, iykyk π.
π Copyright π
Copyright fish-shell developers. They ate, no crumbs π.
mwah π β this page is from fish-shell source/version 4.9, dated Sep 08, 2026. Byeee bestie, go make your prompt iconic π¦π
.
π¦ where this page comes from
- arch rolling: fish 4.9.3-1 Β· GPL-2.0-only AND BSD-3-Clause AND ISC AND MIT AND PSF-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms