Skip to content

Instantly share code, notes, and snippets.

@themagicalmammal
Last active May 23, 2024 13:20
Show Gist options
  • Save themagicalmammal/dd4905509d6e3bd297eb92fd750dad98 to your computer and use it in GitHub Desktop.
Save themagicalmammal/dd4905509d6e3bd297eb92fd750dad98 to your computer and use it in GitHub Desktop.
Starship configuration file
[username]
format = " [╭─$user]($style) on "
style_user = "bold bright-green"
style_root = "bold green"
show_always = true
[hostname]
format = "[$hostname]($style) in "
style = "bold purple"
trim_at = "-"
ssh_only = false
disabled = false
[cmd_duration]
min_time = 10
format = "took [$duration]($style)"
[character]
success_symbol = " [β†’](bold red)"
error_symbol = " [Γ—](bold red)"
[battery]
full_symbol = " β•°β”€πŸ”‹ "
charging_symbol = " β•°β”€πŸ”Œ "
discharging_symbol = " β•°β”€βš‘ "
[[battery.display]]
threshold = 15
style = "bold red"
[[battery.display]]
threshold = 50
style = "bold yellow"
[[battery.display]]
threshold = 80
style = "bold green"
[memory_usage]
format = "$symbol[${ram}( | ${swap})]($style) "
threshold = -1
style = "bold dimmed white"
disabled = false
[directory]
style = "purple"
truncation_length = 5
truncate_to_repo = true
truncation_symbol = "repo: "
[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"
[line_break]
disabled = false
[time]
time_format = "%T"
format = "πŸ•™ $time($style) "
style = "bold bright-white"
disabled = true
[aws]
format = "[$symbol$region]($style) "
style = "bold yellow"
symbol = "󰸏 "
[azure]
format = "[$symbol$subscription]($style) "
style = "bold yellow"
symbol = "σ° … "
[conda]
format = "[$symbol$environment]($style) "
style = "bold green"
symbol = "ο„Œ "
[dart]
format = "[$symbol$version]($style) "
style = "bold blue"
symbol = "ξ™Œ "
[docker_context]
format = "[$symbol$context]($style) "
style = "bold blue"
symbol = " "
[elixir]
format = "[$symbol$version]($style) "
style = "bold blue"
symbol = " "
[elm]
format = "[$symbol$version]($style) "
style = "bold green"
symbol = " "
[golang]
format = "[$symbol$version]($style) "
style = "bold blue"
symbol = " "
[hg_branch]
format = "[$symbol$branch]($style) "
style = "bold blue"
symbol = " "
[java]
format = "[$symbol$version]($style) "
style = "bold orange"
symbol = "ξ‰– "
[julia]
format = "[$symbol$version]($style) "
style = "bold purple"
symbol = " "
[nim]
format = "[$symbol$version]($style) "
style = "bold yellow"
symbol = "ξ™· "
[nix_shell]
format = "[$symbol$state]($style) "
style = "bold blue"
symbol = "ο‹œ "
[nodejs]
format = "[$symbol$version]($style) "
style = "bold green"
symbol = " "
[package]
format = "is [$symbol$version]($style) "
style = "bold dimmed purple"
symbol = "ο’‡ "
[perl]
format = "[$symbol$version]($style) "
style = "bold dimmed blue"
symbol = " "
[php]
format = "[$symbol$version]($style) "
style = "bold dimmed purple"
symbol = " "
[python]
format = "[$symbol${pyenv_prefix}$version]($style) "
style = "bold yellow"
symbol = "ξ˜† "
[ruby]
format = "[$symbol$version]($style) "
style = "bold red"
symbol = " "
[rust]
format = "[$symbol$version]($style) "
style = "bold dimmed black"
symbol = "ξš‹ "
[swift]
format = "[$symbol$version]($style) "
style = "bold orange"
symbol = " "
@themagicalmammal
Copy link
Author

themagicalmammal commented Sep 12, 2023

No Battery Systems (PC(s) / Servers)

[username]
format = " [$user]($style) on "
style_user = "bold bright-green"
style_root = "bold green"
show_always = true

[hostname]
format = "[$hostname]($style) in "
style = "bold purple"
trim_at = "-"
ssh_only = false
disabled = false

[cmd_duration]
min_time = 10
format = "took [$duration]($style)"

[character]
success_symbol = " [β†’](bold red)"
error_symbol = " [Γ—](bold red)"

[memory_usage]
format = "$symbol[${ram}( | ${swap})]($style) "
threshold = -1
style = "bold dimmed white"
disabled = false

[directory]
style = "purple"
truncation_length = 5
truncate_to_repo = true
truncation_symbol = "repo: "

[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"

[line_break]
disabled = false

[time]
time_format = "%T"
format = "πŸ•™ $time($style) "
style = "bold bright-white"
disabled = true

[aws]
format = "[$symbol$region]($style) "
style = "bold yellow"
symbol = "󰸏 "

[azure]
format = "[$symbol$subscription]($style) "
style = "bold yellow"
symbol = "σ° … "

[conda]
format = "[$symbol$environment]($style) "
style = "bold green"
symbol = "ο„Œ "

[dart]
format = "[$symbol$version]($style) "
style = "bold blue"
symbol = "ξ™Œ "

[docker_context]
format = "[$symbol$context]($style) "
style = "bold blue"
symbol = " "

[elixir]
format = "[$symbol$version]($style) "
style = "bold blue"
symbol = " "

[elm]
format = "[$symbol$version]($style) "
style = "bold green"
symbol = " "

[golang]
format = "[$symbol$version]($style) "
style = "bold blue"
symbol = " "

[hg_branch]
format = "[$symbol$branch]($style) "
style = "bold blue"
symbol = " "

[java]
format = "[$symbol$version]($style) "
style = "bold orange"
symbol = "ξ‰– "

[julia]
format = "[$symbol$version]($style) "
style = "bold purple"
symbol = " "

[nim]
format = "[$symbol$version]($style) "
style = "bold yellow"
symbol = "ξ™· "

[nix_shell]
format = "[$symbol$state]($style) "
style = "bold blue"
symbol = "ο‹œ "

[nodejs]
format = "[$symbol$version]($style) "
style = "bold green"
symbol = " "

[package]
format = "is [$symbol$version]($style) "
style = "bold dimmed purple"
symbol = "ο’‡ "

[perl]
format = "[$symbol$version]($style) "
style = "bold dimmed blue"
symbol = " "

[php]
format = "[$symbol$version]($style) "
style = "bold dimmed purple"
symbol = " "

[python]
format = "[$symbol${pyenv_prefix}$version]($style) "
style = "bold yellow"
symbol = "ξ˜† "

[ruby]
format = "[$symbol$version]($style) "
style = "bold red"
symbol = " "

[rust]
format = "[$symbol$version]($style) "
style = "bold dimmed black"
symbol = "ξš‹ "

[swift]
format = "[$symbol$version]($style) "
style = "bold orange"
symbol = " "

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment