Ver Fonte

Merge pull request #496 from MartinFillon/fix-group-root-coloring

fix(colors): root group not painted as expected when eza used by root
Christina Sørensen há 2 anos atrás
pai
commit
5edce8b01c
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      src/output/render/groups.rs

+ 1 - 1
src/output/render/groups.rs

@@ -42,7 +42,7 @@ impl Render for Option<f::Group> {
             }
         }
 
-        if group.gid() == 0 {
+        if group.gid() == 0 && style != colours.yours() {
             style = colours.root_group();
         }