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' "$schema" = 'https://starship.rs/config-schema.json'
format = '$all$kubernetes$line_break$jobs$battery$time$status$os$container$shell$character'
[character] [character]
success_symbol = "[](bold purple)" success_symbol = "[](bold purple)"
vicmd_symbol = "[](bold purple)" vicmd_symbol = "[](bold purple)"
@ -38,6 +40,7 @@ style = "blue"
read_only = " 󰌾" read_only = " 󰌾"
[docker_context] [docker_context]
format = "[$symbol$context]($style) "
symbol = " " symbol = " "
[elixir] [elixir]
@ -82,6 +85,12 @@ symbol = " "
[julia] [julia]
symbol = " " symbol = " "
[kubernetes]
disabled = false
format = "[$symbol$context]($style) "
symbol = '󰠳 '
style = '33'
[lua] [lua]
symbol = " " symbol = " "
@ -98,7 +107,7 @@ symbol = "󰆥 "
symbol = " " symbol = " "
[nodejs] [nodejs]
format = "[$symbol($version )]($style)" format = "[$symbol($version)]($style) "
symbol = " " symbol = " "
[os.symbols] [os.symbols]
@ -143,13 +152,14 @@ Unknown = " "
Windows = "󰍲 " Windows = "󰍲 "
[package] [package]
format = "[$symbol($version)]($style) "
symbol = "󰏗 " symbol = "󰏗 "
[perl] [perl]
symbol = " " symbol = " "
[php] [php]
format = "[$symbol($version )]($style)" format = "[$symbol($version)]($style) "
symbol = " " symbol = " "
[pijul_channel] [pijul_channel]