From b94a510c571f3471ac13a5213d2db106b5bcf8db Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Thu, 8 Sep 2022 03:21:05 +0800 Subject: Use delta as git pager --- .env | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.env b/.env index f38df99..6580d6a 100644 --- a/.env +++ b/.env @@ -13,3 +13,7 @@ if type fcitx5 > /dev/null; then export INPUT_METHOD=fcitx export SDL_IM_MODULE=fcitx fi + +if command -v delta > /dev/null; then + export GIT_PAGER='delta --diff-highlight' +fi -- cgit v1.2.3