Last active
December 20, 2023 12:27
-
-
Save henriwasd/844ece1d51ad8de1b7840bc0fa3fc27a to your computer and use it in GitHub Desktop.
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 | |
# Inserts a blank line between shell prompts | |
add_newline = true | |
# Change the default prompt format | |
format = """\ | |
[╭╴](238)$env_var\ | |
$all[╰─](238)$character""" | |
# Change the default prompt characters | |
[character] | |
success_symbol = "[ ](238)" | |
error_symbol = "[ ](238)" | |
# Shows an icon that should be included by zshrc script based on the distribution or os | |
[env_var.STARSHIP_DISTRO] | |
format = '[$env_value](bold white)' # removed space between distro and rest for pwsh | |
variable = "STARSHIP_DISTRO" | |
disabled = false | |
# Shows the username | |
[username] | |
style_user = "white bold" | |
style_root = "black bold" | |
format = "[$user]($style) " | |
disabled = true # disable in powershell | |
show_always = false | |
[directory] | |
truncation_length = 3 | |
truncation_symbol = "…/" | |
home_symbol = " ~" | |
read_only_style = "197" | |
read_only = " " | |
format = " [$path]($style)[$read_only]($read_only_style) " | |
[git_branch] | |
symbol = " " | |
format = "[$symbol$branch]($style) " | |
style = "bold green" | |
[git_status] | |
format = '[\($all_status$ahead_behind\)]($style) ' | |
style = "bold green" | |
conflicted = "🏳" | |
up_to_date = " " | |
untracked = " " | |
ahead = "⇡${count}" | |
diverged = "⇕⇡${ahead_count}⇣${behind_count}" | |
behind = "⇣${count}" | |
stashed = " " | |
modified = " " | |
staged = '[++\($count\)](green)' | |
renamed = " " | |
deleted = " " | |
[terraform] | |
format = "via [ terraform $version]($style) 壟 [$workspace]($style) " | |
[vagrant] | |
format = "via [ vagrant $version]($style) " | |
[docker_context] | |
format = "via [ $context](bold blue) " | |
[helm] | |
format = "via [ $version](bold purple) " | |
[python] | |
symbol = " " | |
python_binary = "python3" | |
[nodejs] | |
format = "via [ $version](bold green) " | |
disabled = true | |
[ruby] | |
format = "via [ $version]($style) " | |
[kubernetes] | |
format = 'on [ $context\($namespace\)](bold purple) ' | |
disabled = false | |
[kubernetes.context_aliases] | |
"clcreative-k8s-staging" = "cl-k8s-staging" | |
"clcreative-k8s-production" = "cl-k8s-prod" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment