mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-07-10 06:32:42 +02:00
feat: starship - enable kubernetes & os, adjust settings
This commit is contained in:
@@ -6,20 +6,28 @@
|
|||||||
enableZshIntegration = true;
|
enableZshIntegration = true;
|
||||||
enableNushellIntegration = true;
|
enableNushellIntegration = true;
|
||||||
|
|
||||||
|
# https://starship.rs/config/
|
||||||
settings = {
|
settings = {
|
||||||
|
# Get editor completions based on the config schema
|
||||||
|
"$schema" = "https://starship.rs/config-schema.json";
|
||||||
character = {
|
character = {
|
||||||
success_symbol = "[›](bold green)";
|
success_symbol = "[➜](bold green)";
|
||||||
error_symbol = "[›](bold red)";
|
error_symbol = "[➜](bold red)";
|
||||||
};
|
};
|
||||||
aws = {
|
aws = {
|
||||||
symbol = "🅰 ";
|
symbol = "☁️ 🅰 ";
|
||||||
};
|
};
|
||||||
gcloud = {
|
gcloud = {
|
||||||
# do not show the account/project's info
|
# do not show the account/project's info
|
||||||
# to avoid the leak of sensitive information when sharing the terminal
|
# to avoid the leak of sensitive information when sharing the terminal
|
||||||
format = "on [$symbol$active(\($region\))]($style) ";
|
format = "on [$symbol$active(\($region\))]($style) ";
|
||||||
symbol = "🅶 ️";
|
symbol = "☁️ 🅶 ️";
|
||||||
};
|
};
|
||||||
|
kubernetes = {
|
||||||
|
symbol = "⛵";
|
||||||
|
disabled = false;
|
||||||
|
};
|
||||||
|
os.disabled = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user