chore(starship): add k8s context in prompt
This commit is contained in:
parent
957afa66d0
commit
5c86a1f859
1 changed files with 4 additions and 7 deletions
|
@ -12,7 +12,7 @@ in
|
|||
enable = true;
|
||||
enableZshIntegration = true;
|
||||
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 = {
|
||||
style = "blue";
|
||||
truncate_to_repo = false;
|
||||
|
@ -59,13 +59,10 @@ in
|
|||
style = "bright-black";
|
||||
};
|
||||
kubernetes = {
|
||||
format = "[|$symbol$cluster| ]($style)";
|
||||
style = "yellow";
|
||||
format = "[$symbol$cluster ]($style)";
|
||||
symbol = "";
|
||||
style = "dimmed blue";
|
||||
disabled = false;
|
||||
detect_folders = [
|
||||
"clusters"
|
||||
"deploy"
|
||||
];
|
||||
};
|
||||
fill = {
|
||||
symbol = " ";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue