Explorar el Código

docs: remove color specifications. change unknown git repo status to `~`

PThorpe92 hace 2 años
padre
commit
08b92a06c5
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. 1 1
      man/eza.1.md
  2. 1 1
      src/output/render/git.rs

+ 1 - 1
man/eza.1.md

@@ -201,7 +201,7 @@ This adds a two-character column indicating the staged and unstaged statuses res
 
 `--git-repos` [if eza was built with git support]
 : List each directory’s Git status, if tracked.
-Symbols shown are `|` (green) for clean, `+` (red) for dirty, and `-`(green) for unknown.
+Symbols shown are `|`= clean, `+`= dirty, and `~`= for unknown.
 
 `--git-repos-no-status` [if eza was built with git support]
 : List if a directory is a Git repository, but not its status.

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

@@ -32,7 +32,7 @@ impl f::SubdirGitRepo {
             f::SubdirGitRepoStatus::NoRepo => style.paint("- "),
             f::SubdirGitRepoStatus::GitClean => style.fg(Color::Green).paint("| "),
             f::SubdirGitRepoStatus::GitDirty => style.bold().fg(Color::Red).paint("+ "),
-            f::SubdirGitRepoStatus::GitUnknown => style.fg(Color::Green).bold().paint("- "),
+            f::SubdirGitRepoStatus::GitUnknown => style.fg(Color::Green).bold().paint("~ "),
         };
 
         TextCell {