Skip to content

Instantly share code, notes, and snippets.

@fullmetalbrackets
Last active February 4, 2024 18:02
Show Gist options
  • Save fullmetalbrackets/4360cb9c513831993811e548c1ad2cb4 to your computer and use it in GitHub Desktop.
Save fullmetalbrackets/4360cb9c513831993811e548c1ad2cb4 to your computer and use it in GitHub Desktop.
Starship Prompt Config (Windows Terminal)
# ~/.config/starship.toml
[character]
success_symbol = "πŸ¦„(bold green)"
error_symbol = "πŸ’©(bold red) "
[cmd_duration]
min_time = 10_000 # Show command duration over 10,000 milliseconds (=10 sec)
format = " took [$duration]($style)"
[directory]
truncation_length = 100
truncate_to_repo = false
format = "[$path]($style)[$lock_symbol]($lock_style) "
[git_branch]
format = " [$symbol$branch]($style) "
symbol = "🍣 "
style = "bold yellow"
[git_commit]
commit_hash_length = 8
style = "bold white"
[git_state]
format = '[\($state( $progress_current of $progress_total)\)]($style) '
[git_status]
conflicted = "βš”οΈ "
ahead = "🏎️ πŸ’¨ Γ—${count}"
behind = "🐒 Γ—${count}"
diverged = "πŸ”± 🏎️ πŸ’¨ Γ—${ahead_count} 🐒 Γ—${behind_count}"
untracked = "πŸ›€οΈ Γ—${count}"
stashed = "πŸ“¦ "
modified = "πŸ“ Γ—${count}"
staged = "πŸ—ƒοΈ Γ—${count}"
renamed = "πŸ“› Γ—${count}"
deleted = "πŸ—‘οΈ Γ—${count}"
style = "bright-white"
format = "$all_status$ahead_behind"
[hostname]
ssh_only = true
format = "πŸ’» [$hostname]($style) "
trim_at = "-"
style = "yellow"
[memory_usage]
format = "$symbol[${ram}( | ${swap})]($style) "
threshold = 70
style = "bold dimmed white"
disabled = false
[package]
disabled = true
[time]
time_format = "%T"
format = "πŸ•™ $time($style) "
style = "bright-white"
disabled = false
[username]
format = "$user($style_user) "
style_user = "blue"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment