Closed yangkev closed 2 years ago
I've tried on my system and my configuration for both of those uses the same "pager" used by git
(this can be customized using GF_PREFERRED_PAGER
). Can you share some screenshots that indicate the problem? It could be related to defaults or your system configuration.
git-fuzzy
tries to be consistent. If you're viewing a diff of your working copy and some files are new, they'll be rendered using cat
(or bat
if you have it installed). If you prefer other highlighters, git-fuzzy
doesn't support them, but it's probably not too hard to implement them.
PRs are welcome; this is likely something I'll not work on unless other folks want it.
I suspect it may be that git log
is noticing that it's being used in a pipe and turns off colors:
export GF_LOG_MENU_PARAMS='--pretty=oneline'
If that doesn't work, I can't explain why you're not getting colors. The git wrapper used internally sets -c color.ui=always
.
(same answer as #40 though these may not have the same root cause)
Just found this project and I love it so far!
Is it possible to make the diff preview in
git fuzzy log
highlight matches the same waygit fuzzy diff
does?