From bbdbdc0fe144d78085c9ec226d1f451c264113bb Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Tue, 28 Jun 2022 18:00:47 -0400 Subject: Only expand passwords if defined --- dot_mutt/accounts/ryank.mail.cs.mcgill.ca/private_read.rc.tmpl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'dot_mutt/accounts/ryank.mail.cs.mcgill.ca') diff --git a/dot_mutt/accounts/ryank.mail.cs.mcgill.ca/private_read.rc.tmpl b/dot_mutt/accounts/ryank.mail.cs.mcgill.ca/private_read.rc.tmpl index 9ac8fee..569c016 100644 --- a/dot_mutt/accounts/ryank.mail.cs.mcgill.ca/private_read.rc.tmpl +++ b/dot_mutt/accounts/ryank.mail.cs.mcgill.ca/private_read.rc.tmpl @@ -1,5 +1,7 @@ # vim: syntax=muttrc -set imap_user = 'ryank' -set imap_pass = '{{ .password.socs }}' set imap_delim_chars = '.' +{{- if .password.socs }} +set imap_pass = '{{ .password.socs }}' +{{- end }} +set imap_user = 'ryank' -- cgit v1.2.3