diff --git a/modules/cli/zsh/starship.nix b/modules/cli/zsh/starship.nix index d90a7c2..2e18091 100644 --- a/modules/cli/zsh/starship.nix +++ b/modules/cli/zsh/starship.nix @@ -11,6 +11,7 @@ "$hostname" "$python" "$nix_shell" + "$kubernetes" "$line_break" "$directory" "[(\\($git_branch$git_commit$git_status$git_state\\) )](green)" @@ -97,6 +98,13 @@ heuristic = true; }; + kubernetes = { + format = "[$symbol$context( \($namespace\))]($style)"; + # only show it if using a custom config + detect_env_vars = ["KUBECONFIG"]; + disabled = false; + }; + hostname = { format = "[ $ssh_symbol$hostname]($style)"; };