Created
August 23, 2022 06:31
-
-
Save loicngr/5c98f7cfff9e0f48e40daa8df9cc3057 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 = """\ | |
[╭╴](white)$env_var\ | |
$all[╰─](white)$character""" | |
# Change the default prompt characters | |
[character] | |
success_symbol = "[ ✓](white)" | |
error_symbol = "[ ✗](white)" | |
# Shows the username | |
[username] | |
style_user = "white bold" | |
style_root = "black bold" | |
format = "[$user]($style) " | |
show_always = true | |
[hostname] | |
ssh_only=true | |
format="[$ssh_symbol$hostname ]($style)" | |
style = "bold blue" | |
[directory] | |
truncate_to_repo = true | |
truncation_length = 7 | |
truncation_symbol = "…/" | |
home_symbol = "~" | |
read_only_style = "197" | |
read_only = "🔒" | |
format = "at [$path]($style)[$read_only]($read_only_style) " | |
[git_branch] | |
symbol = "Ч " | |
format = "on [$symbol$branch]($style) " | |
style = "bold green" | |
[git_status] | |
format = '[<$all_status$ahead_behind>]($style) ' | |
style = "bold green" | |
conflicted = '[≠\($count\)](red)' | |
ahead = '⇡\($count\)' | |
behind = '⇣\($count\)' | |
diverged = '😵\($count\)' | |
up_to_date = "✓" | |
untracked = '🤷\($count\)' | |
stashed = '📦' | |
modified = '📝\($count\)' | |
staged = '[++\($count\)](green)' | |
renamed = '»\($count\)' | |
deleted = '🗑\($count\)' | |
[azure] | |
disabled = true | |
format = "on [$symbol ($subscription)]($style) " | |
symbol = "☁️ " | |
style = "blue bold" | |
[terraform] | |
format = "via [💠 terraform $version]($style)[$workspace]($style) " | |
[docker_context] | |
format = "via [🐋 $context](blue bold)" | |
[helm] | |
format = "via [$version](bold purple) " | |
[python] | |
symbol = "🐍" | |
python_binary = "python3" | |
[nodejs] | |
format = "via [$version](bold green) " | |
disabled = true | |
[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