From f88dc939cef2b4e1a55fd05ac482e49d4b567b4e Mon Sep 17 00:00:00 2001 From: Ibrahim Muftee Date: Fri, 12 Apr 2024 12:12:26 -0500 Subject: fix(git): fix gh auth windows line --- dot_gitconfig.tmpl | 3 +-- 1 file changed, 1 insertion(+), 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 -- cgit v1.2.3