summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIbrahim Muftee <ibrahim@muftee.net>2024-04-12 12:12:26 -0500
committerIbrahim Muftee <ibrahim@muftee.net>2026-07-01 00:23:31 -0400
commitf88dc939cef2b4e1a55fd05ac482e49d4b567b4e (patch)
treeb870e5f0b6e23c329be539b3502abc34368e2e24
parentdb991528687c56d2564899d6cdd3b429524cd8cc (diff)
fix(git): fix gh auth windows line
-rw-r--r--dot_gitconfig.tmpl3
1 files changed, 1 insertions, 2 deletions
diff --git a/dot_gitconfig.tmpl b/dot_gitconfig.tmpl
index 92c8843..3e40f5d 100644
--- a/dot_gitconfig.tmpl
+++ b/dot_gitconfig.tmpl
@@ -1,5 +1,4 @@
# vim:ft=gitconfig
-# {{- /* This file supports Go's text/template language. */ -}}
[push]
autoSetupRemote = true
@@ -19,7 +18,7 @@
[branch]
sort = committerdate
-{{ if and (eq .chezmoi.os "windows") (isExecutable "gh") -}}
+{{ if eq .chezmoi.os "windows" -}}
[credential "https://github.com"]
helper =
helper = !'C:\\Users\\muftei\\scoop\\apps\\gh\\current\\bin\\gh.exe' auth git-credential