dotfiles/home/.starship/config.toml

94 lines
1.6 KiB
TOML
Raw Normal View History

2020-11-20 08:02:29 +00:00
format = """\
2021-05-10 10:21:26 +00:00
$status\
$cmd_duration\
$hostname\
2020-11-20 08:02:29 +00:00
$directory\
$git_branch\
$git_commit\
$git_state\
$git_status\
2021-05-10 10:21:26 +00:00
$kubernetes\
$helm\
2020-11-20 08:02:29 +00:00
$golang\
$nodejs\
$terraform\
2021-05-10 10:21:26 +00:00
$package\
2020-11-20 08:02:29 +00:00
$custom\
$time\
2020-11-20 08:02:29 +00:00
$line_break\
$jobs\
$character\
"""
2020-09-07 07:32:28 +00:00
2021-05-10 10:21:26 +00:00
command_timeout = 1000
add_newline = true
2021-05-10 10:21:26 +00:00
[hostname]
ssh_only = true
format = "🌐 [$hostname](bold dimmed blue) \n"
disabled = false
[directory]
format = "┏  [$path]($style)[$read_only]($read_only_style) "
2020-09-07 07:32:28 +00:00
[character]
success_symbol = "┗ [✨](yellow)"
error_symbol = "┗ [✗](fg:204)"
2020-09-07 07:32:28 +00:00
[git_branch]
format = "⎮ [$symbol$branch]($style) "
symbol = "🌱 "
2020-09-07 07:32:28 +00:00
[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) "
2020-09-07 07:32:28 +00:00
[golang]
symbol = " "
format = "⎮ [$symbol$version](fg:45) "
2020-09-07 07:32:28 +00:00
[kubernetes]
format = '⎮ [$symbol$context (\($namespace\))]($style) '
2020-09-07 07:32:28 +00:00
symbol = "ﴱ "
style = "bold blue"
disabled = false
2021-10-14 09:11:17 +00:00
[kubernetes.context_aliases]
"gs-(?P<cluster>.+)" = "$cluster [MC]"
2020-09-07 07:32:28 +00:00
[terraform]
format = "⎮ [$symbol$version]($style) "
2020-09-07 07:32:28 +00:00
[nodejs]
symbol = " "
2021-05-10 10:21:26 +00:00
[status]
symbol = "✗"
format = "[↪ $symbol $common_meaning$signal_name$maybe_int](fg:204)\n"
2021-05-10 10:21:26 +00:00
map_symbol = true
disabled = false
[helm]
format = "⎮ [$symbol$version]($style) "
2021-05-10 10:21:26 +00:00
symbol = " "
[cmd_duration]
format = " took [$duration]($style) \n"
2021-05-10 10:21:26 +00:00
[package]
symbol = "📦"
format = "⎮ [$symbol$version]($style) "
[jobs]
number_threshold = 1
format = "┣ [$symbol $number background jobs\n]($style)"