mutt-wizard

fork of Luke Smiths mutt-wizard
git clone git://git.jakekoroman.com/mutt-wizard
Log | Files | Refs | README | LICENSE

commit d60d2398869796ee1fd7e6c424afe11654e2e702
parent 06f416f5eb73c4d01df25046d17a1cfdbfb116ae
Author: Jonassenher <jonflod@outlook.com>
Date:   Sun, 30 Aug 2020 19:02:15 +0200

Fixed the case for no environmental variables
Diffstat:
Mbin/mw | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/bin/mw b/bin/mw @@ -38,7 +38,7 @@ msmtp_header="defaults auth on tls on tls_trust_file $sslcert -logfile $XDG_CONFIG_HOME/msmtp/msmtp.log +logfile ${XDG_CONFIG_HOME/:-$HOME/.config}/msmtp/msmtp.log " msmtp_profile="account $title host $smtp @@ -59,8 +59,8 @@ CertificateFile $sslcert MaildirStore $title-local Subfolders Verbatim -Path $XDG_DATA_HOME/mail/$title/ -Inbox $XDG_DATA_HOME/mail/$title/INBOX +Path ${XDG_DATA_HOME:-$HOME/.local/share}/mail/$title/ +Inbox ${XDG_DATA_HOME:-$HOME/.local/share}/mail/$title/INBOX Flatten . Channel $title