dotfiles/home/.starship/config.toml
Marcus Noble b9647b569d
More style tweaks
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2022-03-04 15:03:28 +00:00

88 lines
1.5 KiB
TOML

format = """\
$status\
$cmd_duration\
$directory\
$git_branch\
$git_commit\
$git_state\
$git_status\
$kubernetes\
$helm\
$golang\
$nodejs\
$terraform\
$package\
$custom\
$time\
$line_break\
$jobs\
$character\
"""
command_timeout = 1000
add_newline = true
[directory]
format = "┏  [$path]($style)[$read_only]($read_only_style) "
[character]
success_symbol = "┗ [✨](yellow)"
error_symbol = "┗ [✗](fg:204)"
[git_branch]
format = "⎮ [$symbol$branch]($style) "
symbol = "🌱 "
[git_commit]
only_detached = true
[git_status]
format = '\($all_status$ahead_behind\) '
up_to_date = "[✓](green)"
modified = "[!](bold fg:208)"
untracked = "[?](bold fg:75)"
staged = '[++\($count\)](green)'
[aws]
symbol = " "
format = "⎮ [$symbol$profile]($style) "
[golang]
symbol = " "
format = "⎮ [$symbol$version](fg:45) "
[kubernetes]
format = '⎮ [$symbol$context (\($namespace\))]($style) '
symbol = "ﴱ "
style = "bold blue"
disabled = false
[kubernetes.context_aliases]
"gs-(?P<cluster>.+)" = "$cluster [MC]"
[terraform]
format = "⎮ [$symbol$version]($style) "
[nodejs]
symbol = " "
[status]
symbol = "✗"
format = "[↪ $symbol $common_meaning$signal_name$maybe_int](fg:204)\n"
map_symbol = true
disabled = false
[helm]
format = "⎮ [$symbol$version]($style) "
symbol = " "
[cmd_duration]
format = " took [$duration]($style) \n"
[package]
symbol = "📦"
format = "⎮ [$symbol$version]($style) "
[jobs]
number_threshold = 1
format = "┣ [$symbol $number background jobs\n]($style)"