From 9abdaf4ff7adf41b57a99b33cd58fd382b14d405 Mon Sep 17 00:00:00 2001 From: pagedmov Date: Mon, 25 Nov 2024 16:17:24 -0500 Subject: [PATCH] starship config now properly shows nix-shell status --- modules/home/environment/starship.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/modules/home/environment/starship.nix b/modules/home/environment/starship.nix index 82e3b6f..cb282a2 100755 --- a/modules/home/environment/starship.nix +++ b/modules/home/environment/starship.nix @@ -13,7 +13,7 @@ format = lib.concatStrings [ "($ssh_symbol)($username)($hostname)($nix_shell)(bold white)($cmd_duration)($character)" - "($git_branch)($git_status)($rust)($nix-shell)" + "($git_branch)($git_status)($rust)" "($directory)" "$line_break[ > ](bold #89b4fa)" ]; @@ -23,6 +23,11 @@ style_user = "bold white"; format = "[$user]($style)"; }; + + rust = { + format = " via [$symbol($version)]($style)"; + }; + directory = { format = ''