Explorar el Código

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 hace 2 años
padre
commit
5edce8b01c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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();
         }