Skip to content

Instantly share code, notes, and snippets.

@Daviid-P
Last active October 28, 2025 07:45
Show Gist options
  • Select an option

  • Save Daviid-P/ac839053e0e3315ef1b6aa8d0f419368 to your computer and use it in GitHub Desktop.

Select an option

Save Daviid-P/ac839053e0e3315ef1b6aa8d0f419368 to your computer and use it in GitHub Desktop.
Prompt for Starship
# ~/.config/starship.toml
command_timeout = 60000
[character]
success_symbol = "[Ξ»](green)"
error_symbol = "[Ξ»](red)"
[username]
style_user = "green bold"
style_root = "red bold"
format = "[$user]($style)"
disabled = false
show_always = true
[hostname]
ssh_only = false
format = "<[$hostname]($style)>"
trim_at = ""
style = "bold dimmed white"
disabled = false
[cmd_duration]
min_time = 10_000 # Show command duration over 10,000 milliseconds (=10 sec)
format = " took [$duration]($style)"
[directory]
truncation_length = 5
format = " [$path]($style)[$lock_symbol]($lock_style)"
[git_branch]
format = " on [$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) '
cherry_pick = "[πŸ’ PICKING](bold red)"
[git_status]
# I don't care about untracked files or that there's a stash present.
untracked = "❓${count} "
conflicted = "βš”οΈ${count} "
deleted = "πŸ—‘οΈ${count} "
renamed = "πŸ“›${count} "
modified = "πŸ“${count} "
staged = "πŸ—ƒοΈ ${count} "
behind = "βͺ${count} "
ahead = "⏩${count} "
stashed = "πŸ“¦${count} "
format = '([\[$untracked$conflicted$deleted$renamed$modified$staged$stashed$ahead_behind\]]($style) )'
[memory_usage]
format = "$symbol[${ram}( | ${swap})]($style) "
threshold = 70
style = "bold dimmed white"
disabled = true
[package]
disabled = true
[python]
format = "[$symbol$version]($style) "
style = "bold green"
[php]
format = "[PHP $version]($style) "
style = "bold dimmed blue"
[time]
time_format = "%T"
format = "πŸ•™ $time($style) "
style = "bright-white"
disabled = false
[battery]
full_symbol = "πŸ”‹"
charging_symbol = "πŸ”Œ"
discharging_symbol = "⚑"
[[battery.display]]
threshold = 30
style = "bold red"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment