mu-wizard

shell script to easily configure mu4e accounts on Emacs
git clone git://git.ckyln.com/~cem/mu-wizard
Log | Files | Refs | LICENSE

commit 6826898b18e0c9be546ade537f72bb75ef37b7da
parent 0cc472c4de2a0ec3601f2f5007f721c74c675a40
Author: Cem Keylan <cem@ckyln.com>
Date:   Wed, 28 Oct 2020 00:36:09 +0300

msmtp_header(): adhere to the XDG desktop specification

Diffstat:
Mbin/muw | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/bin/muw b/bin/muw @@ -49,13 +49,14 @@ get_profiles() { } msmtp_header() { - mkdir -p "$config_home/msmtp" + mkdir -p "$config_home/msmtp" \ + "${XDG_CACHE_HOME:=$HOME/.cache}/msmtp" cat <<EOF > "$config_home/msmtp/config" defaults auth on tls on tls_trust_file $sslcert -logfile ~/.config/msmtp/msmtp.log +logfile $XDG_CACHE_HOME/msmtp/msmtp.log EOF }