Starship.toml May 2026
: Each prompt element (like directory , git_branch , or character ) has its own section for detailed styling.
Below is a basic configuration you can paste into your starship.toml file to get started: starship.toml
: If you want to use special characters like $ , [ , or ] , you must escape them (e.g., \$ ) to prevent Starship from interpreting them as variables. Example Configuration : Each prompt element (like directory , git_branch