Skip to content

Starship

Starship is a minimal, fast shell prompt written in Rust. omfreebdy configures it with a clean directory + git + character format.

Image not found
Starship prompt in a git repository

Config lives at ~/.config/starship.toml.

{directory}{git_branch}{git_status}{character}
ModuleStyle
DirectoryCyan, bold, truncate to 3 levels
Git branchItalic cyan with branch symbol
Git statusShows ahead/behind, untracked, modified, staged, conflicted
CharacterCyan (success), red (error)

Edit ~/.config/starship.toml. See starship.rs for all available modules.

To add a language module (e.g., Node.js version):

[nodejs]
format = "via [$symbol($version)]($style) "