nixos

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 7b675a329ff112de4f1224dad7f06d1c5612f8c3
parent 29133642e1363ee201689ed66a1b502d7e37ca61
Author: Toni Brown <me@tb148.eu.org>
Date:   Wed, 29 Oct 2025 23:52:27 +0800

update shell prompt

Diffstat:
Mstarship.nix | 35+++++++----------------------------
1 file changed, 7 insertions(+), 28 deletions(-)

diff --git a/starship.nix b/starship.nix @@ -16,13 +16,10 @@ "$directory" "[ ](bg:yellow fg:peach)" "$git_branch" + "[ ](bg:green fg:yellow)" + "$git_commit" "$git_state" "$git_status" - "[ ](bg:green fg:yellow)" - "$c" - "$cpp" - "$nodejs" - "$python" "[ ](bg:sapphire fg:green)" "$time" "[ ](bg:mauve fg:sapphire)" @@ -52,36 +49,18 @@ git_branch = { format = "[$symbol$branch(:$remote_branch) ]($style)"; style = "bg:yellow fg:crust"; - symbol = " "; + symbol = "󰘬 "; }; git_state = { format = "[$state ($progress_current/$progress_total )]($style)"; - style = "bg:yellow fg:crust"; + style = "bg:green fg:crust"; }; git_status = { format = "([$all_status$ahead_behind ]($style))"; - style = "bg:yellow fg:crust"; - }; - c = { - format = "[$symbol($version) (\\($name\\) )]($style)"; - style = "bg:green fg:crust"; - symbol = "󰙱 "; - }; - cpp = { - disabled = false; - format = "[$symbol($version) (\\($name\\) )]($style)"; - style = "bg:green fg:crust"; - symbol = "󰙲 "; - }; - nodejs = { - format = "[$symbol($version) ]($style)"; - style = "bg:green fg:crust"; - symbol = "󰎙 "; - }; - python = { - format = "[$symbol($version) (\\($virtualenv\\) )]($style)"; style = "bg:green fg:crust"; - symbol = "󰌠 "; + ahead = "⇡ "; + behind = "⇣ "; + diverged = "⇕ "; }; time = { disabled = false;