Last active
May 8, 2023 18:10
-
-
Save promisepreston/a4e6e086167bc769165855673e59ab10 to your computer and use it in GitHub Desktop.
Starship configuration file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.config/starship.toml | |
# Get editor completions based on the config schema | |
"$schema" = 'https://starship.rs/config-schema.json' | |
# Inserts a blank line between shell prompts | |
add_newline = true | |
[aws] | |
disabled = false | |
format = 'on [$symbol($profile )(\($region\) )]($style)' | |
style = 'bold yellow' | |
symbol = '๐ ฐ ' | |
[azure] | |
disabled = true | |
format = 'on [$symbol($subscription)]($style) ' | |
symbol = '๏ด ' | |
style = 'blue bold' | |
[battery] | |
full_symbol = '๐ ' | |
charging_symbol = 'โก๏ธ ' | |
discharging_symbol = '๐ ' | |
[[battery.display]] # 'bold red' style and discharging_symbol when capacity is between 0% and 10% | |
threshold = 10 | |
style = 'bold red' | |
[[battery.display]] # 'bold yellow' style and ๐ฆ symbol when capacity is between 10% and 30% | |
threshold = 30 | |
style = 'bold yellow' | |
discharging_symbol = '๐ฆ' | |
# when capacity is over 30%, the battery indicator will be displayed | |
[[battery.display]] # 'default | |
threshold = 100 | |
[c] | |
format = 'via [$name $version]($style)' | |
[character] | |
success_symbol = '[โ](bold green)'# Replace the 'โฏ' symbol in the prompt with 'โ' | |
error_symbol = "[โ](bold red) " | |
[cmd_duration] | |
min_time = 10_000 # Show command duration over 10,000 milliseconds (=10 sec) | |
format = " took [$duration]($style)" | |
[gcloud] | |
disabled = true | |
[git_branch] | |
symbol = '๐ฑ ' | |
truncation_length = 15 | |
truncation_symbol = '...' | |
[git_metrics] | |
added_style = 'bold blue' | |
format = '[+$added]($added_style)/[-$deleted]($deleted_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" | |
[golang] | |
format = 'via [๐๐จ $version](bold cyan) ' | |
[helm] | |
format = 'via [โ $version](bold white) ' | |
[java] | |
symbol = '๐ ' | |
[julia] | |
format = "[$symbol$version]($style) " | |
symbol = "เฎ " | |
style = "bold green" | |
[lua] | |
format = 'via [๐ $version](bold blue) ' | |
[kotlin] | |
symbol = '๐ บ ' | |
[kubernetes] | |
format = 'on [โต ($user on )($cluster in )$context \($namespace\)](dimmed green) ' | |
disabled = true | |
[memory_usage] | |
disabled = false | |
threshold = -1 | |
symbol = '๐ ' | |
style = 'bold dimmed green' | |
[nodejs] | |
format = 'via [๐ค $version](bold green) ' | |
[os] | |
format = "on [($name )]($style)" | |
style = "bold blue" | |
disabled = false | |
[package] | |
disabled = true | |
[perl] | |
format = 'via [๐ฆช $version]($style) ' | |
[php] | |
format = 'via [๐น $version](147 bold) ' | |
[python] | |
symbol = '๐พ ' | |
pyenv_version_name = true | |
[ruby] | |
symbol = '๐บ ' | |
[rust] | |
format = 'via [โ๏ธ $version](red bold)' | |
[scala] | |
symbol = '๐ ' | |
[sudo] | |
style = 'bold green' | |
symbol = '๐ฉโ๐ป ' | |
disabled = false | |
[terraform] | |
format = '[๐๐จ $version$workspace]($style) ' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment