From b6fc7138a1e2d21203c4c67f30bb985fb6f0bb39 Mon Sep 17 00:00:00 2001 From: lelgenio Date: Sun, 29 Nov 2020 16:17:40 -0300 Subject: [PATCH] add diff-highlight --- dotfiles/gitconfig | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dotfiles/gitconfig b/dotfiles/gitconfig index 442607f..d749d97 100644 --- a/dotfiles/gitconfig +++ b/dotfiles/gitconfig @@ -7,3 +7,9 @@ [pull] rebase = false + +[pager] + # diff-highlight is script provided by git that shows word-by-word diff + log = perl /usr/share/git/diff-highlight/diff-highlight | less + show = perl /usr/share/git/diff-highlight/diff-highlight | less + diff = perl /usr/share/git/diff-highlight/diff-highlight | less