mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-22 22:45:37 +00:00
add ssh host to starship
This commit is contained in:
parent
381e06519b
commit
f20b4ee31a
@ -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 = "❄️";
|
||||||
|
Loading…
Reference in New Issue
Block a user