From a1b2ac27f9de938ea377c755fb644078fe4eeff6 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Fri, 6 Dec 2024 11:38:08 +0100 Subject: [PATCH] git config: osx keychain only darwin --- dot_config/git/private_config.tmpl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dot_config/git/private_config.tmpl b/dot_config/git/private_config.tmpl index fd090ba..b901c9c 100644 --- a/dot_config/git/private_config.tmpl +++ b/dot_config/git/private_config.tmpl @@ -110,8 +110,10 @@ insteadOf = "https://github.com/" insteadOf = "gh:" +{{- if eq .chezmoi.os "darwin" }} [credential] helper = osxkeychain +{{ end }} [include] path = host.config