93 lines
1.9 KiB
TOML
93 lines
1.9 KiB
TOML
# ~/.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) '
|
|
variable = "STARSHIP_DISTRO"
|
|
disabled = false
|
|
|
|
# Shows the username
|
|
[username]
|
|
style_user = "white bold"
|
|
style_root = "black bold"
|
|
format = "[$user]($style) "
|
|
disabled = false
|
|
show_always = true
|
|
|
|
[directory]
|
|
truncation_length = 3
|
|
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) "
|
|
truncation_length = 4
|
|
truncation_symbol = "…/"
|
|
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
|
|
|
|
[hostname]
|
|
ssh_only = false
|
|
format = "on [$hostname](bold red) [$ssh_symbol](bold red) "
|
|
trim_at = ".companyname.com"
|
|
disabled = false
|
|
ssh_symbol = ''
|