diff options
author | Ben Burwell <ben@benburwell.com> | 2019-12-12 16:40:47 -0500 |
---|---|---|
committer | Ben Burwell <ben@benburwell.com> | 2019-12-12 16:40:47 -0500 |
commit | 72d46bb8d8af6e0ece0ac6eca2a1985692d28c19 (patch) | |
tree | 1da1bbd23a5da3b599ce58e6f206c8f32d8a99b8 | |
parent | 4f3f4c7cfb8ed39bb29e4faf6853d532901e0d3f (diff) |
git: fix msmtp path
-rw-r--r-- | templates/.gitconfig | 2 |
1 files changed, 1 insertions, 1 deletions
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 <ben@benburwell.com> 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 |