Ver código fonte

fix(colors): root group not painted as expected when eza used by root

MartinFillon 2 anos atrás
pai
commit
e78ba60186
1 arquivos 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();
         }