From ba86a02fca8196cdb9eb5555f72222b0f4b69556 Mon Sep 17 00:00:00 2001 From: Ryan Yin Date: Fri, 26 Sep 2025 11:14:28 +0800 Subject: [PATCH] feat: starship - enable kubernetes & os, adjust settings --- home/base/core/starship.nix | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/home/base/core/starship.nix b/home/base/core/starship.nix index 004c4351..51a4044e 100644 --- a/home/base/core/starship.nix +++ b/home/base/core/starship.nix @@ -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; }; }; }