feat: starship - enable kubernetes & os, adjust settings

This commit is contained in:
Ryan Yin committed 2025-09-26 11:19:15 +08:00
1 parent 7b28c08ab6
commit ba86a02fca
1 file changed
+12 -4
+12 -4
View File
@@ -6,20 +6,28 @@
enableZshIntegration = true;
enableNushellIntegration = true;
# https://starship.rs/config/
settings = {
# Get editor completions based on the config schema
"$schema" = "https://starship.rs/config-schema.json";
character = {
success_symbol = "[›](bold green)";
error_symbol = "[›](bold red)";
success_symbol = "[➜](bold green)";
error_symbol = "[➜](bold red)";
};
aws = {
symbol = "🅰 ";
symbol = "☁️ 🅰 ";
};
gcloud = {
# do not show the account/project's info
# to avoid the leak of sensitive information when sharing the terminal
format = "on [$symbol$active(\($region\))]($style) ";
symbol = "🅶 ️";
symbol = "☁️ 🅶 ️";
};
kubernetes = {
symbol = "⛵";
disabled = false;
};
os.disabled = false;
};
};
}