diff --git a/.chezmoi.toml.tmpl b/.chezmoi.toml.tmpl index 07924ef..3deaa7d 100644 --- a/.chezmoi.toml.tmpl +++ b/.chezmoi.toml.tmpl @@ -51,7 +51,7 @@ #{{ end }} End OS Specific code -{{- $gitCredentialManagerLocation := findExecutable "bin/git-credential-manager" binroots -}} +{{- $gitCredentialManagerLocation := findExecutable "bin/git-credential-manager" $binroots -}} {{- if and (eq .chezmoi.os "linux") (not (stat "/usr/local/bin/git-credential-manager" )) -}} {{- writeToStdout "Can't find GCM: https://github.com/GitCredentialManager/git-credential-manager/releases \n" -}}