Skip to content

Commit 48fb8e5

Browse files
committed
fix: disable chezmoi diff delta instead of git
1 parent 96aacaa commit 48fb8e5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

home/.chezmoi.toml.tmpl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,11 @@ custom = true
5959
[edit]
6060
command = "nvim"
6161

62+
{{ if not env "CI" }}{{/* Disable delta in git config when running on CI */}}
6263
[diff]
6364
command = "delta"
6465
pager = "delta"
66+
{{ end }}
6567

6668
[merge]
6769
command = "nvim"

home/dot_config/git/config.tmpl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@
1515
[core]
1616
editor = nvim
1717
longpaths = true
18-
{{ if not env "CI" }}{{/* Disable delta in git config when running on CI */}}
1918
pager = delta
20-
{{ end }}
2119
excludesFile = ~/.config/git/global.gitignore
2220

2321
[color]

0 commit comments

Comments
 (0)