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;
|
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 = " ";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue