Update git config when delta is installed

main
Buddy Sandidge 1 year ago
parent ebcce277d5
commit 6009b41350

@ -8,6 +8,20 @@
quotepath = false quotepath = false
commitGraph = true commitGraph = true
logallrefupdates = true logallrefupdates = true
#{{- if lookPath "delta" }}#
pager = delta
[interactive]
diffFilter = delta --color-only
[delta]
navigate = true # use n and N to move between diff sections
light = false # set to true if you're in a terminal w/ a light background color (e.g. the default macOS terminal)
line-numbers = true
[merge]
conflictstyle = diff3
#{{- end }}#
[color] [color]
branch = auto branch = auto
@ -58,6 +72,9 @@
[push] [push]
default = simple default = simple
[pull]
rebase = false
[init] [init]
defaultBranch = main defaultBranch = main
@ -75,6 +92,9 @@
[diff] [diff]
algorithm = histogram algorithm = histogram
#{{- if lookPath "delta" }}#
colorMoved = default
#{{- end }}#
[safe] [safe]
directory = * directory = *

Loading…
Cancel
Save