Skip to content

Instantly share code, notes, and snippets.

@ratul16
Created April 3, 2022 22:18
Show Gist options
  • Save ratul16/86f5254e3925c2c28e101e07a394b414 to your computer and use it in GitHub Desktop.
Save ratul16/86f5254e3925c2c28e101e07a394b414 to your computer and use it in GitHub Desktop.
# ~/.config/starship.toml
[battery]
full_symbol = "πŸ”‹"
charging_symbol = "πŸ”Œ"
discharging_symbol = "⚑"
[[battery.display]]
threshold = 30
style = "bold red"
[character]
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 = 510
format = "[$path]($style) |"
read_only = " ο ½"
style = "bold italic #36d184"
[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 = false
format = "<[$hostname]($style)>"
trim_at = "-"
style = "bold dimmed white"
disabled = true
[memory_usage]
format = "$symbol[${ram}( | ${swap})]($style) "
threshold = 70
style = "bold dimmed white"
disabled = false
[package]
disabled = true
[docker_context]
format = "via [πŸ‹ $context](blue bold)"
[nodejs]
symbol = " "
style = "green"
[python]
symbol = "🐍 "
format='[${symbol}${pyenv_prefix}( \($virtualenv\))]($style)'
[conda]
symbol = "ο„  "
format = "[$symbol$environment](dimmed green) "
[username]
style_user = "bright green"
style_root = "black bold"
format = "😴πŸ₯΄($style) "
disabled = false
show_always = true
#[time]
#use_12hr = true
#utc_time_offset = "-6"
#style = "#bb9af7"
#format = "πŸ•™ $time($style) "
#disabled = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment