starship: improve prompt, reduce clutter in styles

This commit is contained in:
teutat3s 2024-06-10 20:44:11 +02:00
parent 2779b0db0e
commit 7b2d36e4fe
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -1,5 +1,5 @@
{
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";
format = "$username$hostname$directory($git_branch$git_commit$git_state$git_status) ($c$deno$golang$haskell$nodejs$php$python$ruby$rust$terraform) ($docker_context) ($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;
@ -29,7 +29,6 @@
fill = {
symbol = "-";
#style = "bold green";
style = "black";
};
@ -58,7 +57,6 @@
c = {
symbol = " ";
style = "bg:#86BBD8";
format = ''[ $symbol ($version) ]($style)'';
};
@ -75,11 +73,10 @@
docker_context = {
symbol = " ";
style = "bg:#06969A";
format = ''[ $symbol $context ]($style) $path'';
};
#deno = {};
deno = { };
git_branch = {
style = "#E5C463";
@ -119,13 +116,11 @@
golang = {
symbol = " ";
style = "bg:#86BBD8";
format = ''[ $symbol ($version) ]($style)'';
};
haskell = {
symbol = " ";
style = "bg:#86BBD8";
format = ''[ $symbol ($version) ]($style)'';
};
@ -136,7 +131,6 @@
nodejs = {
symbol = "";
style = "bg:#86BBD8";
format = ''[ $symbol ($version) ]($style)'';
};
@ -154,16 +148,8 @@
rust = {
symbol = "";
style = "bg:#86BBD8";
format = ''[ $symbol ($version) ]($style)'';
};
#terraform = {};
time = {
disabled = false;
time_format = "%R"; # Hour:Minute Format
style = "bg:#33658A";
format = ''[ $time ]($style)'';
};
}