mirror of
https://github.com/dnlbauer/dotfiles.git
synced 2026-09-10 13:35:30 +00:00
fix: git diff should paginate with diff-to-fancy
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
email = {{ .github_email | quote }}
|
||||
{{- end }}
|
||||
[core]
|
||||
pager = sh -c 'command -v diff-so-fancy >/dev/null && exec diff-so-fancy || less --tabs=4 -RX'
|
||||
pager = sh -c 'command -v diff-so-fancy >/dev/null && diff-so-fancy | less --tabs=4 -RX || less --tabs=4 -RX'
|
||||
autocrlf = input
|
||||
attributesFile = {{ .chezmoi.homeDir }}/.gitattributes
|
||||
[alias]
|
||||
@@ -15,7 +15,7 @@
|
||||
br = branch
|
||||
worktree-ai = "!~/bin/git-worktree-ai"
|
||||
[interactive]
|
||||
diffFilter = sh -c 'command -v diff-so-fancy >/dev/null && exec diff-so-fancy --patch || exec cat'
|
||||
diffFilter = sh -c 'command -v diff-so-fancy >/dev/null && diff-so-fancy --patch || cat'
|
||||
[color]
|
||||
ui = true
|
||||
[color "diff-highlight"]
|
||||
|
||||
Reference in New Issue
Block a user