From 72d46bb8d8af6e0ece0ac6eca2a1985692d28c19 Mon Sep 17 00:00:00 2001 From: Ben Burwell Date: Thu, 12 Dec 2019 16:40:47 -0500 Subject: git: fix msmtp path --- templates/.gitconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/.gitconfig') diff --git a/templates/.gitconfig b/templates/.gitconfig index 688a058..9c81d05 100644 --- a/templates/.gitconfig +++ b/templates/.gitconfig @@ -44,7 +44,7 @@ from = Ben Burwell envelopeSender = auto smtpuser = - smtpserver = "/usr/local/bin/msmtp" + smtpserver = {{ if eq .OS "darwin"}}"/usr/local/bin/msmtp"{{ else }}"/usr/bin/msmtp"{{ end }} smtpserveroption = "--account=fastmail" smtpencryption = tls chainreplyto = false -- cgit v1.2.3