mutt-wizard

A wizard that autocreates an offline email setup for (neo)mutt with isync/mbsync
Log | Files | Refs | README | LICENSE

commit 2fb43d2e4703260b53a66d60f4ac04bbd49ae60e
parent d10219deb37f20124ceecda57b5b8772251d0070
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Mon, 22 Apr 2019 15:51:34 -0400

mkdir fix

Diffstat:
Mbin/mw | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/mw b/bin/mw @@ -152,7 +152,7 @@ EOF [ -z "$login" ] && login="$fulladdr" getpass getprofiles - mkdir -p "$muttdir" "$accdir/$title" "$cachedir/mutt-wizard/$title/cache/bodies" "$HOME/.config/msmtp" + mkdir -p "$muttdir" "$accdir/$title" "$cachedir/$title/cache/bodies" "$HOME/.config/msmtp" getaccounts for x in $(seq 1 9); do echo "$accounts" | grep "$x" >/dev/null 2>&1 || { export idnum="$x"; break ;}; done [ ! -f "$HOME/.config/msmtp/config" ] && echo "$msmtp_header" > "$HOME/.config/msmtp/config"