From 0d60c57ad11ee0a1fdff5007d405da30de82771c Mon Sep 17 00:00:00 2001 From: Arran Ubels Date: Wed, 22 May 2024 17:22:38 +1000 Subject: [PATCH] $ is vital --- .chezmoi.toml.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -}}