add ssh host to starship

This commit is contained in:
Noah Masur 2022-10-01 18:24:06 +00:00
parent 381e06519b
commit f20b4ee31a

View File

@ -9,6 +9,7 @@
"$git_branch" "$git_branch"
"$git_commit" "$git_commit"
"$git_status" "$git_status"
"$hostname"
"$cmd_duration" "$cmd_duration"
"$character" "$character"
]; ];
@ -47,6 +48,10 @@
deleted = ""; deleted = "";
style = "red"; style = "red";
}; };
hostname = {
ssh_only = true;
format = "on [$hostname](bold red) ";
};
nix_shell = { nix_shell = {
format = "[$symbol $name]($style)"; format = "[$symbol $name]($style)";
symbol = ""; symbol = "";