Git Tips Slides
PageUp x2: previous · PageDown x2: next · Home: index

Starship Prompt

I use Starship Prompt so I get notified in the prompt when the Git status is not clean.

My config:

[git_status]
conflicted = ' conflicted'
ahead = ' ahead'
behind = ' behind'
diverged = ' diverged'
up_to_date = ''
stashed = ' stashes'
untracked = ' untracked'

This shows nothing when the Git state is clean and a readable warning when something is wrong.

Official screenshot:

Starship demo