Browse Source

Merge pull request #133 from PThorpe92/main

added git-ignored color/style option
Christina Sørensen 2 years ago
parent
commit
8eab2e780b
2 changed files with 4 additions and 0 deletions
  1. 3 0
      man/eza_colors.5.md
  2. 1 0
      src/theme/ui_styles.rs

+ 3 - 0
man/eza_colors.5.md

@@ -193,6 +193,9 @@ LIST OF CODES
 `gt`
 : a modified metadata flag in Git
 
+`gi`
+: an ignored flag in Git
+
 `xx`
 : “punctuation”, including many background UI elements
 

+ 1 - 0
src/theme/ui_styles.rs

@@ -199,6 +199,7 @@ impl UiStyles {
             "gd" => self.git.deleted              = pair.to_style(),
             "gv" => self.git.renamed              = pair.to_style(),
             "gt" => self.git.typechange           = pair.to_style(),
+            "gi" => self.git.ignored              = pair.to_style(),
 
             "xx" => self.punctuation              = pair.to_style(),
             "da" => self.date                     = pair.to_style(),