Update user & hostname display in starship
This commit is contained in:
parent
c9c874ab00
commit
4c37713f2d
|
@ -1,20 +1,20 @@
|
||||||
{
|
{
|
||||||
format = "$directory($git_branch$git_commit$git_state$git_status)($c$deno$golang$haskell$nodejs$php$python$ruby$rust$terraform[](fg:#F85E84 bg:black))($docker_context[](fg:#06969A))($container)$fill(\${custom.triton})$nix_shell$status[ |](fg:#F85E84)$line_break$character";
|
format = "$username$hostname$directory($git_branch$git_commit$git_state$git_status)($c$deno$golang$haskell$nodejs$php$python$ruby$rust$terraform[](fg:#F85E84 bg:#000000))($docker_context[](fg:#06969A))($container)$fill(\${custom.triton})$nix_shell$status[ |](fg:#F85E84)$line_break$character";
|
||||||
|
|
||||||
# Disable the blank line at the start of the prompt
|
# Disable the blank line at the start of the prompt
|
||||||
add_newline = false;
|
add_newline = false;
|
||||||
|
|
||||||
# You can also replace your username with a neat symbol like to save some space
|
# You can also replace your username with a neat symbol like to save some space
|
||||||
username = {
|
username = {
|
||||||
show_always = true;
|
style_user = "bg:#000000 fg:#F85E84";
|
||||||
style_user = "bg:#9A348E";
|
style_root = "bg:#F85E84 fg:#000000";
|
||||||
style_root = "bg:#9A348E";
|
format = ''[$user ]($style)'';
|
||||||
format = ''[$user]($style)'';
|
|
||||||
};
|
};
|
||||||
|
|
||||||
hostname = {
|
hostname = {
|
||||||
ssh_only = false;
|
ssh_symbol = "";
|
||||||
format = "@[$ssh_symbol$hostname]($style)";
|
trim_at = "";
|
||||||
disabled = false;
|
style = "bg:#000000 fg:#F85E84";
|
||||||
};
|
};
|
||||||
|
|
||||||
character = {
|
character = {
|
||||||
|
|
Loading…
Reference in a new issue