From 2de0516f74618e43372cc729499cba61460cdfba Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Fri, 14 Apr 2023 14:16:01 -0700 Subject: [PATCH] Set GIT_PAGER to delta --- init.zsh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/init.zsh b/init.zsh index c0e8cdb..b9cfb63 100644 --- a/init.zsh +++ b/init.zsh @@ -90,7 +90,10 @@ if which exa >/dev/null 2>&1; then alias la="ls -a" fi - # Git aliases +# Git aliases +if which delta >/dev/null 2>&1; then + export GIT_PAGER='delta' +fi alias ga="git add" alias gaa="git add -A" alias gco="git commit"