summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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