starship config now properly shows nix-shell status
This commit is contained in:
@@ -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 = ''
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user