Starship
PR-01 // PROMPT
Starship is a minimal, fast shell prompt written in Rust. omfreebdy configures it with a clean directory + git + character format.
Image not found
Configuration
Section titled “Configuration”Config lives at ~/.config/starship.toml.
Prompt Format
Section titled “Prompt Format”{directory}{git_branch}{git_status}{character}Module Settings
Section titled “Module Settings”| Module | Style |
|---|---|
| Directory | Cyan, bold, truncate to 3 levels |
| Git branch | Italic cyan with branch symbol |
| Git status | Shows ahead/behind, untracked, modified, staged, conflicted |
| Character | Cyan (success), red (error) |
Customization
Section titled “Customization”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) "