diff options
author | Guangxiong Lin <[email protected]> | 2022-09-08 03:21:05 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2022-09-08 03:21:05 +0800 |
commit | b94a510c571f3471ac13a5213d2db106b5bcf8db (patch) | |
tree | 8e716f26f7b970c7bee3a56bdf4e2a89c8f940b1 | |
parent | ac5eaaaeac34ee2390e6bdfc420a8235f3f40400 (diff) | |
download | dotfiles-b94a510c571f3471ac13a5213d2db106b5bcf8db.tar.gz dotfiles-b94a510c571f3471ac13a5213d2db106b5bcf8db.tar.bz2 dotfiles-b94a510c571f3471ac13a5213d2db106b5bcf8db.zip |
Use delta as git pager
-rw-r--r-- | .env | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |