Skip to content

Instantly share code, notes, and snippets.

@steelbrain
Last active July 21, 2025 06:10
Show Gist options
  • Save steelbrain/f4bcb4079e5cc1b51407e77c61228012 to your computer and use it in GitHub Desktop.
Save steelbrain/f4bcb4079e5cc1b51407e77c61228012 to your computer and use it in GitHub Desktop.
Starship terminal config
# Starship configuration for prezto-like appearance
# Disable the blank line between prompts
add_newline = false
# Format string - defines the overall prompt structure
format = """
$directory\
$git_branch\
$git_status\
$character\
"""
# Directory module - shows abbreviated path like ~/P/s/audio-toolkit
[directory]
truncation_length = 8
truncate_to_repo = false
truncation_symbol = ""
style = "bold blue"
format = "[$path]($style)"
# Git branch module - shows branch name
[git_branch]
format = " [$branch]($style) "
style = "bold green"
symbol = ""
# Git status module - shows status indicators
[git_status]
format = ' $all_status$ahead_behind '
conflicted = "[✱](bold blue) "
ahead = "[⇡](bold yellow)"
behind = "[⇣](bold yellow)"
diverged = "[⇕](bold yellow)"
up_to_date = ""
untracked = "[◼](bold white) "
stashed = "[✭](bold blue) "
modified = "[✱](bold blue) "
staged = "[●](bold green) "
renamed = "[»](bold blue) "
deleted = "[✘](bold red) "
# Character module - the prompt character (❯❯❯)
[character]
success_symbol = "[❯❯❯](bold yellow)"
error_symbol = "[❯❯❯](bold red)"
format = "$symbol "
# Disable modules we don't want
[aws]
disabled = true
[gcloud]
disabled = true
[nodejs]
disabled = true
[python]
disabled = true
[rust]
disabled = true
[package]
disabled = true
[cmd_duration]
disabled = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment