starship: updates

This commit is contained in:
notohh 2024-05-31 11:26:30 -04:00
parent d004c52ee2
commit f6b905013f
Signed by: notohh
GPG key ID: BD47506D475EE86D

View file

@ -41,6 +41,7 @@
"$golang" "$golang"
]; ];
right_format = lib.concatStrings [ right_format = lib.concatStrings [
"$direnv"
"$nix_shell" "$nix_shell"
]; ];
character = { character = {
@ -54,7 +55,7 @@
}; };
hostname = { hostname = {
ssh_symbol = "🌐"; ssh_symbol = "🌐";
format = "[on $hostname $ssh_symbol]($style)"; format = "[$hostname $ssh_symbol]($style)";
ssh_only = true; ssh_only = true;
disabled = false; disabled = false;
}; };
@ -79,22 +80,29 @@
unknown_msg = "[unknown shell](bold yellow)"; unknown_msg = "[unknown shell](bold yellow)";
format = "[$state( \($name\))](bold white)"; format = "[$state( \($name\))](bold white)";
}; };
direnv = {
disabled = false;
detect_files = [".envrc"];
style = "bold turquoise";
};
git_branch = { git_branch = {
symbol = ""; symbol = "";
format = "[$symbol $branch ]($style)"; format = "[$symbol $branch ]($style)";
style = "white"; style = "turquoise";
}; };
git_status = { git_status = {
format = "[$all_status$ahead_behind ]($style)"; format = "[$all_status$ahead_behind ]($style)";
style = "red"; style = "red";
}; };
golang = { golang = {
symbol = " "; symbol = "";
format = "[$symbol ($version) ]($style)"; format = "[$symbol ($version) ]($style)";
style = "teal";
}; };
rust = { rust = {
symbol = ""; symbol = "";
format = "[$symbol ($version) ]($style)"; format = "[$symbol ($version) ]($style)";
style = "orange";
}; };
time = { time = {
disabled = false; disabled = false;