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 }}
|
email = {{ .github_email | quote }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
[core]
|
[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
|
autocrlf = input
|
||||||
attributesFile = {{ .chezmoi.homeDir }}/.gitattributes
|
attributesFile = {{ .chezmoi.homeDir }}/.gitattributes
|
||||||
[alias]
|
[alias]
|
||||||
@@ -15,7 +15,7 @@
|
|||||||
br = branch
|
br = branch
|
||||||
worktree-ai = "!~/bin/git-worktree-ai"
|
worktree-ai = "!~/bin/git-worktree-ai"
|
||||||
[interactive]
|
[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]
|
[color]
|
||||||
ui = true
|
ui = true
|
||||||
[color "diff-highlight"]
|
[color "diff-highlight"]
|
||||||
|
|||||||
Reference in New Issue
Block a user