aboutsummaryrefslogtreecommitdiff
path: root/dot_mutt/accounts/ryank.mail.cs.mcgill.ca
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@rak.ac>2022-06-28 18:00:47 -0400
committerRyan Kavanagh <rak@rak.ac>2022-06-28 18:00:47 -0400
commitbbdbdc0fe144d78085c9ec226d1f451c264113bb (patch)
tree4729876e41f963ebb0a7b71c3591217b911d1ce7 /dot_mutt/accounts/ryank.mail.cs.mcgill.ca
parentmore mutt (diff)
Only expand passwords if defined
Diffstat (limited to '')
-rw-r--r--dot_mutt/accounts/ryank.mail.cs.mcgill.ca/private_read.rc.tmpl6
1 files changed, 4 insertions, 2 deletions
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'