All configuration for starship is done in this TOML file:
starship preset nerd-font-symbols -o ~/.config/starship.toml
To get started configuring starship, edit the following file: ~/.config/starship.toml
.
# Get editor completions based on the config schema
"$schema" = 'https://starship.rs/config-schema.json'
# Inserts a blank line between shell prompts
add_newline = true
# Replace the '❯' symbol in the prompt with '➜'
[character] # The name of the module we are configuring is 'character'
success_symbol = '[➜](bold green)' # The 'success_symbol' segment is being set to '➜' with the color 'bold green'
error_symbol = '[➜](bold red)'
# Disable the package module, hiding it from the prompt completely
[package]
disabled = true