From dffb2005dc934081dca2039c12bef75f6c08c576 Mon Sep 17 00:00:00 2001 From: Jack Platten Date: Wed, 20 May 2026 14:20:12 -0700 Subject: [PATCH] Update .config/git/config --- private_dot_config/git/config.tmpl | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/private_dot_config/git/config.tmpl b/private_dot_config/git/config.tmpl index d45bb86..408b81a 100644 --- a/private_dot_config/git/config.tmpl +++ b/private_dot_config/git/config.tmpl @@ -84,17 +84,17 @@ followTags = true [includeIf "hasconfig:remote.*.url:https://github.com/**"] - path = "{{ .chezmoi.homeDir }}{{ .chezmoi.pathSeparator }}.gitconfig.d{{ .chezmoi.pathSeparator }}github.conf" + path = "{{ joinPath .chezmoi.homeDir .gitconfig.d github.conf}}" [includeIf "hasconfig:remote.*.url:git@github.com:*/**"] - path = "{{ .chezmoi.homeDir }}{{ .chezmoi.pathSeparator }}.gitconfig.d{{ .chezmoi.pathSeparator }}github.conf" + path = "{{ joinPath .chezmoi.homeDir .gitconfig.d github.conf}}" [includeIf "hasconfig:remote.*.url:ssh://git@github.com:*/**"] - path = "{{ .chezmoi.homeDir }}{{ .chezmoi.pathSeparator }}.gitconfig.d{{ .chezmoi.pathSeparator }}github.conf" + path = "{{ joinPath .chezmoi.homeDir .gitconfig.d github.conf}}" [includeIf "hasconfig:remote.*.url:ssh://git@gitlab.com:*/**"] - path = "{{ .chezmoi.homeDir }}{{ .chezmoi.pathSeparator }}.gitconfig.d{{ .chezmoi.pathSeparator }}gitlab.conf" + path = "{{ joinPath .chezmoi.homeDir .gitconfig.d gitlab.conf}}" [includeIf "hasconfig:remote.*.url:https://gitlab.com/**"] - path = "{{ .chezmoi.homeDir }}{{ .chezmoi.pathSeparator }}.gitconfig.d{{ .chezmoi.pathSeparator }}gitlab.conf" + path = "{{ joinPath .chezmoi.homeDir .gitconfig.d gitlab.conf}}" [includeIf "hasconfig:remote.*.url:git@gitlab.com:*/**"] - path = "{{ .chezmoi.homeDir }}{{ .chezmoi.pathSeparator }}.gitconfig.d{{ .chezmoi.pathSeparator }}gitlab.conf" + path = "{{ joinPath .chezmoi.homeDir .gitconfig.d gitlab.conf}}" [pager] difftool = true -- 2.51.2