Last active
July 28, 2023 07:36
-
-
Save kfkonrad/e25bf5d7d288b0099288946150418e2f to your computer and use it in GitHub Desktop.
My three line starship prompt - starships are meant to fly π
This file contains 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
add_newline = false | |
format = """[ββ](bold blue) $username$hostname$battery$gcloud$aws${custom.kubie}$kubernetes$helm$status$cmd_duration | |
[β](yellow)[β](bold yellow) $directory$rust$package$git_branch$git_status$git_state$git_metrics$git_commit$golang$terraform$docker_context | |
$character """ | |
[character] | |
success_symbol = "[β°β](bold green)" | |
error_symbol = "[β°β](bold red)" | |
[cmd_duration] | |
show_milliseconds = true | |
format = "took [$duration](bold yellow) " | |
disabled = false | |
show_notifications = false | |
[kubernetes] | |
disabled = false | |
format = '[$symbol](blue)[$namespace \($context\)]($style) ' | |
style = 'bold blue' | |
[kubernetes.context_aliases] | |
"docker-desktop" = "local" | |
".*occonnect-ocp.*" = "OCP" | |
"do-fra1-production-kubernetes" = "Ξ±9-prod" | |
"do-fra1-staging-kubernetes" = "Ξ±9-stage" | |
"do-fra1-development-kubernetes" = "Ξ±9-dev" | |
[memory_usage] | |
format = "with$symbol [${ram} ${ram_pct}( | ${swap} ${swap_pct})]($style) " | |
disabled = false | |
threshold = -1 | |
symbol = " " | |
style = "bold dimmed green" | |
[gcloud] | |
style = "blue" | |
format = '[$symbol$account(\($project\))]($style) ' | |
symbol = "Gβ :βοΈ" | |
disabled = true | |
[gcloud.region_aliases] | |
us-central1 = "uc1" | |
asia-northeast1 = "an1" | |
[aws] | |
format = '[$symbol$profile(\($region\))]($style) ' | |
style = "bold yellow" | |
symbol = "ββ΅β·βοΈβοΈ" | |
disabled = true | |
[aws.region_aliases] | |
ap-southeast-2 = "au" | |
us-east-1 = "va" | |
[package] | |
format = " package: [π $version](208 bold) " | |
disabled = true | |
[docker_context] | |
format = "docker: [π $context](blue bold)" | |
disabled = false | |
[directory] | |
truncation_length = 7 | |
truncation_symbol = "β¦/" | |
[username] | |
style_user = "green bold" | |
style_root = "red bold" | |
format = "[$user]($style)@" | |
disabled = false | |
show_always = true | |
[time] | |
disabled = false | |
format = '[\[ $time \]]($style) ' | |
[hostname] | |
ssh_only = false | |
format = '[$hostname](bold green) ' | |
trim_at = "." | |
disabled = false | |
[status] | |
style = "red" | |
symbol = "π₯ " | |
format = '[\[$symbol$status\]]($style) ' | |
disabled = false | |
[git_branch] | |
symbol = "[\\(]()" | |
format = "on [$symbol$branch]($style)" | |
style = "bold purple" | |
[git_status] | |
style = "bold yellow" | |
format = '([$stashed$conflicted$deleted$renamed$staged$modified$untracked$ahead_behind]($style))\) ' | |
untracked = ' ?:$count' | |
modified = ' U:$count' | |
staged = ' S:$count' | |
stashed = ' {$count}' | |
ahead = ' β‘:$count' | |
behind = ' β£:$count' | |
diverged = " β‘:${ahead_count} β£:${behind_count} [merge conflict warning](italic dimmed bright-red)" | |
deleted = " [β](yellow):$count" | |
conflicted = " β :$count" | |
renamed = " β¬ :$count" | |
up_to_date = "" | |
[git_state] | |
format = '[\[$state( $progress_current of $progress_total)\]]($style) ' | |
cherry_pick = "π PICKING" | |
style = "bold red" | |
[git_commit] | |
format = '\([$hash$tag]($style)\) ' | |
style = 'bold green' | |
[rust] | |
format = "rust: [$symbol$version](red bold) " | |
symbol = "π¦ " | |
[golang] | |
format = "go: [πΉ $version](bold cyan) " | |
disabled = true | |
[helm] | |
format = "helm: [β $version](bold white) " | |
disabled = true | |
[jobs] | |
symbol = "+ " | |
threshold = 4 | |
format = "background [$symbol$number]($style) " | |
[terraform] | |
format = "[πβοΈ $version$workspace]($style) " | |
disabled = true | |
[battery] | |
full_symbol = "π " | |
charging_symbol = "β‘οΈ " | |
discharging_symbol = "π " | |
disabled = true | |
[[battery.display]] # "bold red" style when capacity is between 0% and 10% | |
threshold = 10 | |
style = "bold red" | |
[[battery.display]] # "bold yellow" style when capacity is between 10% and 30% | |
threshold = 30 | |
style = "bold yellow" | |
[[battery.display]] | |
threshold = 100 | |
style = "bold green" | |
[custom.kubie] | |
when = """ test "$KUBIE_ACTIVE" = "1" """ | |
format = "[π± ]($style)" | |
os = "linux" | |
shell = ["sh"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment