Adjust starship git status
This commit is contained in:
parent
3e186a6904
commit
5e01947f32
|
@ -13,7 +13,10 @@
|
|||
userName = "kiana-S";
|
||||
userEmail = "kiana.a.sheibani@gmail.com";
|
||||
|
||||
extraConfig.credential.helper = "store";
|
||||
extraConfig.git.allowForcePush = true;
|
||||
extraConfig = {
|
||||
credential.helper = "store";
|
||||
git.allowForcePush = true;
|
||||
init.defaultBranch = "main";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
programs.starship.settings = {
|
||||
add_newline = true;
|
||||
|
||||
battery.disabled = true;
|
||||
|
||||
character =
|
||||
let char = "⮞"; charVi = "⮜";
|
||||
in {
|
||||
|
@ -20,6 +22,23 @@
|
|||
read_only_style = "cyan";
|
||||
};
|
||||
|
||||
battery.disabled = true;
|
||||
nix_shell = {
|
||||
format = "via [$symbol$name \($state\)]($style) ";
|
||||
};
|
||||
|
||||
git_status = {
|
||||
format = "$stashed$ahead_behind$conflicted$deleted$renamed$staged$modified$untracked";
|
||||
|
||||
conflicted = "[~$count ](red)";
|
||||
ahead = "[⇡$count ](cyan)";
|
||||
behind = "[⇣$count ](cyan)";
|
||||
diverged = "[⇕ ](cyan)";
|
||||
untracked = "[?$count ](cyan)";
|
||||
stashed = "[\$$count ](cyan)";
|
||||
modified = "[!$count ](bright-yellow)";
|
||||
staged = "[+$count ](bright-yellow)";
|
||||
renamed = "[»$count ](bright-yellow)";
|
||||
deleted = "[✘$count ](red)";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue