From 936d9aa4150b12e007cab3d690b4abe2851c3607 Mon Sep 17 00:00:00 2001 From: Mohammad Rafiq Date: Sat, 24 May 2025 01:18:11 +0800 Subject: [PATCH] feat(homeModules/cli): add starship --- modules/home/cli/default.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/modules/home/cli/default.nix b/modules/home/cli/default.nix index 36db5ab..b4b5b43 100644 --- a/modules/home/cli/default.nix +++ b/modules/home/cli/default.nix @@ -56,5 +56,23 @@ - type: gemini ''; } + { + programs.starship = { + enable = true; + settings = { + add_newline = false; + format = '' + $directory$character + ''; + right_format = '' + $all + ''; + git_branch.format = "[$symbol$branch(:$remote_branch)]($style) "; + shlvl.disabled = false; + hostname.disabled = true; + username.disabled = true; + }; + }; + } ]; }