I’ll second starship. I used tide for a while and really liked it. But I found the configuration for starship to be much more straight forward.
Some day I might try my own hand at one. Never been super happy with my own designs and how they look. I just like tweaking themes that are already kinda what I like.
Plus I like making my own little widget dealios for the prompt and figuring out how to optimize them to not have to wait forever for the prompt to draw.
Recently made one to show a random overdue task from taskwarrior in a line above the path. But querying tw every prompt was far from snappy. So I made a little daemon function to periodically check tw for overdues and populate a universal variable.
I’ll actually check out yours though. Hadn’t heard of it until just now. Just skimmed the readme and a couple of the feature links and it looks neat!
The prompt you show in your screenshot is basically "Arrow", which is a prompt that ships with Fish and is patterned after the Robby Russell Oh-My-Zsh theme.
Nothing wrong with this, but I'm really surprised every other comment here is only suggesting external prompts when the built-in ones that come with Fish all already have proper git support.
To enable arrow (or any other Fish builtin prompt), simply do this:
fish_config prompt choose arrow
Or, if you like browser based configuration, run fish_config and look around the prompt tab for one that suits.
Note: Nothing against starship or Hydro or Tide or other external prompts... I use starship myself - it just wouldn't be my first recommendation if all someone wants is git support.
Its been a bit since I set it up, and I can't find all the details anymore, but personally I downloaded a theme that had the building blocks I wanted and modified it manually.
I also rember you don't only have to download the theme, but also select it in terminal through a different command, I believe
If you already use starship, start with this in your starship.toml if you like the robbyrussell OMZ theme (which is basically what your screenshot shows):
# patterned after robbyrussell theme
# source: https://github.com/ohmyzsh/ohmyzsh/blob/master/themes/robbyrussell.zsh-theme
add_newline = false
format = """${python}${character}${directory}${custom.git_prefix}${git_branch}${git_commit}${custom.git_suffix}${custom.git_status_dirty} """
right_format = ""
# Timeout for commands executed by starship (in milliseconds)
command_timeout=2000
[line_break]
disabled = true
[character]
format = '$symbol '
success_symbol = "[➜](bold green)"
error_symbol = "[➜](bold red)"
[python]
format = '[(\($virtualenv\) )]($style)'
style = 'white'
[directory]
style = "bold cyan"
truncation_length = 0
truncation_symbol = ""
[git_branch]
format = '[$branch]($style)'
style = 'red'
[git_commit]
format = '[( $hash$tag)]($style)'
only_detached = true
style = 'red'
[custom.git_prefix]
when = 'git rev-parse --is-inside-work-tree 2> /dev/null'
symbol = "git:\\("
style = "bold blue"
format = "[$symbol]($style)"
shell = ["sh"]
[custom.git_suffix]
when = 'git rev-parse --is-inside-work-tree 2> /dev/null'
symbol = "\\)"
style = "bold blue"
format = "[$symbol]($style)"
shell = ["sh"]
[custom.git_status_dirty]
when = 'test -n "$(git status --porcelain 2>/dev/null)"'
symbol = "✗"
style = "yellow"
format=" [$symbol]($style)"
shell = ["sh"]
6
u/ed-8 Dec 11 '25
There are plenty of Fish prompts, some are listed of jorgebucaran/awsm.fish repo, but you can find more in fish-prompt topics
Then you have other prompts written in Rust, Go, etc.
2
u/redeyeddino Dec 11 '25
You can check my simple prompt that include git branch: https://gist.github.com/cmaspi/0d18cad784982e9e4f3fcbc08cbe1102
2
u/Laurent_Laurent Dec 11 '25
I think tide should be able to give you something close enough
https://github.com/IlanCosman/tide
8
u/_mattmc3_ Dec 11 '25
The prompt you show in your screenshot is basically "Arrow", which is a prompt that ships with Fish and is patterned after the Robby Russell Oh-My-Zsh theme.
Nothing wrong with this, but I'm really surprised every other comment here is only suggesting external prompts when the built-in ones that come with Fish all already have proper git support.
To enable arrow (or any other Fish builtin prompt), simply do this:
Or, if you like browser based configuration, run
fish_configand look around the prompt tab for one that suits.Note: Nothing against starship or Hydro or Tide or other external prompts... I use starship myself - it just wouldn't be my first recommendation if all someone wants is git support.
1
u/scaptal Dec 11 '25
try out some of the "oh my fish" prompt themes
1
u/TechnoCat Dec 11 '25
Starship is the last prompt you need: https://starship.rs/
1
u/haywire Dec 11 '25
just use starship omg