From 71ce6f9863666025df6d940675ae292dac9c7da6 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 7 Apr 2025 06:56:33 -0700 Subject: more starship configuration --- nix/users/fcuny/shell.nix | 37 +++++++++++++++++++++++++++++++++++-- 1 file changed, 35 insertions(+), 2 deletions(-) (limited to 'nix') diff --git a/nix/users/fcuny/shell.nix b/nix/users/fcuny/shell.nix index b7d0a45..f5d83e5 100644 --- a/nix/users/fcuny/shell.nix +++ b/nix/users/fcuny/shell.nix @@ -94,8 +94,41 @@ in programs.starship = { enable = true; settings = { - kubernetes.disabled = false; - kubernetes.style = "bold blue"; + add_newline = false; + git_branch = { + symbol = "🌱 "; + }; + git_commit = { + commit_hash_length = 4; + tag_symbol = "🔖 "; + }; + git_state = { + format = "[($state($progress_current of $progress_total))]($style) "; + cherry_pick = "[🍒 PICKING](bold red)"; + }; + git_status = { + conflicted = "💢"; + ahead = "💨"; + behind = "😰"; + diverged = "😵"; + untracked = "🤷‍"; + stashed = "📦"; + modified = "📝"; + staged = "[++($count)](green)"; + renamed = "👅"; + deleted = "🗑️"; + }; + "$schema" = "https://starship.rs/config-schema.json"; + hostname = { + disabled = true; + }; + username = { + disabled = true; + }; + kubernetes = { + disabled = false; + style = "bold blue"; + }; nix_shell.disabled = false; }; }; -- cgit v1.2.3