Browse Source

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

MartinFillon 2 years ago
parent
commit
e78ba60186
1 changed files with 1 additions and 1 deletions
  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();
         }