Enable K8S context in Starship prompt

This commit is contained in:
Danielle McLean 2023-06-27 14:33:14 +10:00
parent a86c8f0ea9
commit 9a16f59378
Signed by: 00dani
GPG key ID: 52C059C3B22A753E

View file

@ -1,5 +1,7 @@
"$schema" = 'https://starship.rs/config-schema.json'
format = '$all$kubernetes$line_break$jobs$battery$time$status$os$container$shell$character'
[character]
success_symbol = "[](bold purple)"
vicmd_symbol = "[](bold purple)"
@ -38,6 +40,7 @@ style = "blue"
read_only = " 󰌾"
[docker_context]
format = "[$symbol$context]($style) "
symbol = " "
[elixir]
@ -82,6 +85,12 @@ symbol = " "
[julia]
symbol = " "
[kubernetes]
disabled = false
format = "[$symbol$context]($style) "
symbol = '󰠳 '
style = '33'
[lua]
symbol = " "
@ -143,6 +152,7 @@ Unknown = " "
Windows = "󰍲 "
[package]
format = "[$symbol($version)]($style) "
symbol = "󰏗 "
[perl]