Update user & hostname display in starship

This commit is contained in:
Benjamin Bädorf 2023-06-28 19:03:12 +02:00
parent c9c874ab00
commit 4c37713f2d
No known key found for this signature in database
GPG key ID: 4406E80E13CD656C

View file

@ -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
add_newline = false;
# You can also replace your username with a neat symbol like  to save some space
username = {
show_always = true;
style_user = "bg:#9A348E";
style_root = "bg:#9A348E";
format = ''[$user]($style)'';
style_user = "bg:#000000 fg:#F85E84";
style_root = "bg:#F85E84 fg:#000000";
format = ''[$user ]($style)'';
};
hostname = {
ssh_only = false;
format = "@[$ssh_symbol$hostname]($style)";
disabled = false;
ssh_symbol = "";
trim_at = "";
style = "bg:#000000 fg:#F85E84";
};
character = {