Added some more delta config

This commit is contained in:
Alexander Rosenberg 2023-04-14 14:33:11 -07:00
parent 2de0516f74
commit 37ba6f3f40
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

View File

@ -90,10 +90,14 @@ if which exa >/dev/null 2>&1; then
alias la="ls -a" alias la="ls -a"
fi fi
# Git aliases # Delta configuration
if which delta >/dev/null 2>&1; then if which delta >/dev/null 2>&1; then
export DELTA_FEATURES='unobtrusive-line-numbers decorations side-by-side'
export DELTA_PAGER='bat -p'
export GIT_PAGER='delta' export GIT_PAGER='delta'
fi fi
# Git aliases
alias ga="git add" alias ga="git add"
alias gaa="git add -A" alias gaa="git add -A"
alias gco="git commit" alias gco="git commit"