forked from pub-solar/os
starship: improve prompt, reduce clutter in styles
This commit is contained in:
parent
2779b0db0e
commit
7b2d36e4fe
|
@ -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
|
# Disable the blank line at the start of the prompt
|
||||||
add_newline = false;
|
add_newline = false;
|
||||||
|
@ -29,7 +29,6 @@
|
||||||
|
|
||||||
fill = {
|
fill = {
|
||||||
symbol = "-";
|
symbol = "-";
|
||||||
#style = "bold green";
|
|
||||||
style = "black";
|
style = "black";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -58,7 +57,6 @@
|
||||||
|
|
||||||
c = {
|
c = {
|
||||||
symbol = " ";
|
symbol = " ";
|
||||||
style = "bg:#86BBD8";
|
|
||||||
format = ''[ $symbol ($version) ]($style)'';
|
format = ''[ $symbol ($version) ]($style)'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -75,11 +73,10 @@
|
||||||
|
|
||||||
docker_context = {
|
docker_context = {
|
||||||
symbol = " ";
|
symbol = " ";
|
||||||
style = "bg:#06969A";
|
|
||||||
format = ''[ $symbol $context ]($style) $path'';
|
format = ''[ $symbol $context ]($style) $path'';
|
||||||
};
|
};
|
||||||
|
|
||||||
#deno = {};
|
deno = { };
|
||||||
|
|
||||||
git_branch = {
|
git_branch = {
|
||||||
style = "#E5C463";
|
style = "#E5C463";
|
||||||
|
@ -119,13 +116,11 @@
|
||||||
|
|
||||||
golang = {
|
golang = {
|
||||||
symbol = " ";
|
symbol = " ";
|
||||||
style = "bg:#86BBD8";
|
|
||||||
format = ''[ $symbol ($version) ]($style)'';
|
format = ''[ $symbol ($version) ]($style)'';
|
||||||
};
|
};
|
||||||
|
|
||||||
haskell = {
|
haskell = {
|
||||||
symbol = " ";
|
symbol = " ";
|
||||||
style = "bg:#86BBD8";
|
|
||||||
format = ''[ $symbol ($version) ]($style)'';
|
format = ''[ $symbol ($version) ]($style)'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -136,7 +131,6 @@
|
||||||
|
|
||||||
nodejs = {
|
nodejs = {
|
||||||
symbol = "";
|
symbol = "";
|
||||||
style = "bg:#86BBD8";
|
|
||||||
format = ''[ $symbol ($version) ]($style)'';
|
format = ''[ $symbol ($version) ]($style)'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -154,16 +148,8 @@
|
||||||
|
|
||||||
rust = {
|
rust = {
|
||||||
symbol = "";
|
symbol = "";
|
||||||
style = "bg:#86BBD8";
|
|
||||||
format = ''[ $symbol ($version) ]($style)'';
|
format = ''[ $symbol ($version) ]($style)'';
|
||||||
};
|
};
|
||||||
|
|
||||||
#terraform = {};
|
#terraform = {};
|
||||||
|
|
||||||
time = {
|
|
||||||
disabled = false;
|
|
||||||
time_format = "%R"; # Hour:Minute Format
|
|
||||||
style = "bg:#33658A";
|
|
||||||
format = ''[ ♥ $time ]($style)'';
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue