Starship.toml [2024]

The starship.toml file uses TOML syntax to define the order and style of information in your terminal prompt.

Below is a basic configuration you can paste into your starship.toml file to get started:

: Each prompt element (like directory , git_branch , or character ) has its own section for detailed styling.

: Use the global format variable to define which modules appear and in what order.

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

: 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

Trending Products »
Latest Tech News »