starship config now properly shows nix-shell status

This commit is contained in:
2024-11-25 16:17:24 -05:00
parent ce6113a7cd
commit 9abdaf4ff7

View File

@@ -13,7 +13,7 @@
format = lib.concatStrings [ format = lib.concatStrings [
"($ssh_symbol)($username)($hostname)($nix_shell)(bold white)($cmd_duration)($character)" "($ssh_symbol)($username)($hostname)($nix_shell)(bold white)($cmd_duration)($character)"
"($git_branch)($git_status)($rust)($nix-shell)" "($git_branch)($git_status)($rust)"
"($directory)" "($directory)"
"$line_break[ > ](bold #89b4fa)" "$line_break[ > ](bold #89b4fa)"
]; ];
@@ -23,6 +23,11 @@
style_user = "bold white"; style_user = "bold white";
format = "[$user]($style)"; format = "[$user]($style)";
}; };
rust = {
format = " via [$symbol($version)]($style)";
};
directory = { directory = {
format = '' format = ''