1
0
Fork 0

Integrate delta into git config

This commit is contained in:
tastytea 2022-03-29 03:55:14 +02:00
parent e027467bf3
commit c6a4bbd5ca
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
1 changed files with 8 additions and 1 deletions

View File

@ -35,10 +35,17 @@
last-branches = for-each-ref --sort=-committerdate refs/heads/ --format='%(refname:short)' --count=5
review = log --patch --reverse
[core]
pager = diff-highlight | less --tabs=4 -RFX
pager = ( delta || diff-highlight | ( highlight-diffpatch || cat ) | less --tabs=4 -RFX )
[gpg]
format = ssh
[gpg "ssh"]
allowedSignersFile = /home/tastytea/.ssh/allowed_signers
[interactive]
diffFilter = ( delta || cat )
[include]
path = config.local
[diff]
colorMoved = default
[delta]
color-only = true
diff-highlight = true