fix(home): Starship git status fixes

Need to escape the escapes
This commit is contained in:
punkfairie 2024-11-17 20:50:45 -08:00
parent 4db5708c78
commit 11f596b1ae
Signed by: punkfairie
GPG key ID: A509E8F77FB9D696

View file

@ -107,17 +107,17 @@ in
git_status = { git_status = {
disabled = mkDefault false; disabled = mkDefault false;
style = mkDefault "bg:overlay fg:love"; style = mkDefault "bg:overlay fg:love";
format = mkDefault (mkFormat "$all_status$ahead_behind"); format = mkDefault (mkFormat " $all_status$ahead_behind");
up_to_date = mkDefault "[ ](bg:overlay fg:iris)"; up_to_date = mkDefault "[ ](bg:overlay fg:iris)";
untracked = mkDefault "[?\($count\)](bg:overlay fg:gold)"; untracked = mkDefault "[?\\($count\\)](bg:overlay fg:gold)";
stashed = mkDefault "[$](bg:overlay fg:iris)"; stashed = mkDefault "[\\$](bg:overlay fg:iris)";
modified = mkDefault "[!\($count\)](bg:overlay fg:gold)"; modified = mkDefault "[!\\($count\\)](bg:overlay fg:gold)";
renamed = mkDefault "[»\($count\)](bg:overlay fg:iris)"; renamed = mkDefault "[»\\($count\\)](bg:overlay fg:iris)";
deleted = mkDefault "[\($count\)](style)"; deleted = mkDefault "[\\($count\\)](style)";
staged = mkDefault "[++\($count\)](bg:overlay fg:gold)"; staged = mkDefault "[++\\($count\\)](bg:overlay fg:gold)";
ahead = mkDefault "[\(\${count}\)](bg:overlay fg:foam)"; ahead = mkDefault "[\\(\${count}\\)](bg:overlay fg:foam)";
diverged = mkDefault "[\[](bg:overlay fg:iris)[\(\${ahead_count}\)](bg:overlay fg:foam)[\(\${behind_count}\)](bg:overlay fg:rose)[\]](bg:overlay fg:iris)"; diverged = mkDefault "[\\[](bg:overlay fg:iris)[\\(\${ahead_count}\\)](bg:overlay fg:foam)[\\(\${behind_count}\\)](bg:overlay fg:rose)[\\]](bg:overlay fg:iris)";
behind = mkDefault "[\(\${count}\)](bg:overlay fg:rose)"; behind = mkDefault "[\\(\${count}\\)](bg:overlay fg:rose)";
}; };
fill = { fill = {