starship: Style some ssh-only components
This commit is contained in:
parent
1abb54693d
commit
ac9f82f5c2
1 changed files with 10 additions and 0 deletions
|
@ -30,6 +30,12 @@
|
|||
format = "\\[[$symbol$branch]($style)\\]";
|
||||
};
|
||||
|
||||
hostname = {
|
||||
ssh_only = true;
|
||||
ssh_symbol = " ";
|
||||
format = "\\[[$ssh_symbol$hostname]($style)\\]";
|
||||
};
|
||||
|
||||
java = {
|
||||
symbol = " ";
|
||||
format = "\\[[$symbol($version)]($style)\\]";
|
||||
|
@ -79,6 +85,10 @@
|
|||
time = {
|
||||
format = "\\[[$time]($style)\\]";
|
||||
};
|
||||
|
||||
username = {
|
||||
format = "\\[[ $user]($style)\\]";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue