From 56cebd33718c81d0febc8062787fa759e3d35f2b Mon Sep 17 00:00:00 2001 From: xdavidwu Date: Thu, 21 Oct 2021 16:03:34 +0800 Subject: [PATCH] git: enable diff-highlight --- .config/git/config | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.config/git/config b/.config/git/config index 28d7175..2eb5330 100644 --- a/.config/git/config +++ b/.config/git/config @@ -6,6 +6,10 @@ cleanup = scissors [push] gpgSign = if-asked +[pager] + log = (/usr/share/git/diff-highlight/diff-highlight 2>/dev/null || cat) | less + show = (/usr/share/git/diff-highlight/diff-highlight 2>/dev/null || cat) | less + diff = (/usr/share/git/diff-highlight/diff-highlight 2>/dev/null || cat) | less [sendemail] smtpEncryption = tls smtpServer = smtp.gmail.com -- 2.45.2