chore(starship): add k8s context in prompt

This commit is contained in:
Yorick Barbanneau 2025-06-19 08:51:56 +02:00
parent 957afa66d0
commit 5c86a1f859
No known key found for this signature in database
GPG key ID: 4447A19BBEDB8DBA

View file

@ -12,7 +12,7 @@ in
enable = true; enable = true;
enableZshIntegration = true; enableZshIntegration = true;
settings = { settings = {
format = "$username$hostname$directory$git_branch$git_state$git_status$cmd_duration$fill$kubernetes$line_break$python$nix_shell$character"; format = "$username$hostname$directory$kubernetes$git_branch$git_state$git_status$cmd_duration$line_break$python$nix_shell$character";
directory = { directory = {
style = "blue"; style = "blue";
truncate_to_repo = false; truncate_to_repo = false;
@ -59,13 +59,10 @@ in
style = "bright-black"; style = "bright-black";
}; };
kubernetes = { kubernetes = {
format = "[|$symbol$cluster| ]($style)"; format = "[$symbol$cluster ]($style)";
style = "yellow"; symbol = "";
style = "dimmed blue";
disabled = false; disabled = false;
detect_folders = [
"clusters"
"deploy"
];
}; };
fill = { fill = {
symbol = " "; symbol = " ";