Starship.toml «Must Read»
To configure the prompt, you need to create or edit the starship.toml file, which is typically located at ~/.config/starship.toml . Basic Configuration Structure
: Each prompt element (like directory , git_branch , or character ) has its own section for detailed styling. starship.toml
: Use the global format variable to define which modules appear and in what order. To configure the prompt, you need to create
: Most "pro" configurations use special icons. You must install a Nerd Font and set it as your terminal's font for these symbols to display correctly. : Most "pro" configurations use special icons
The starship.toml file uses TOML syntax to define the order and style of information in your terminal prompt.
: If you don't want to write everything from scratch, Starship offers Presets like "No-Runtime-Versions" or "Tokyo Night" that you can copy-paste into your file. Configuration - Starship