From 9027c151c208193280e9db22dd6595ee6cfbf607 Mon Sep 17 00:00:00 2001 From: thehnm Date: Tue, 30 Jun 2020 23:50:33 +0200 Subject: [PATCH] Create isync config folder if not present --- bin/mw | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/mw b/bin/mw index a9bc0a1..7d7e15d 100755 --- a/bin/mw +++ b/bin/mw @@ -16,6 +16,7 @@ maildir="$HOME/.local/share/mail" # Location of mail storage namere="^[a-z_][a-z0-9_-]*$" # Regex to ensure viable username emailre=".\+@.\+\\..\+" # Regex to confirm valid email address muttshare="$prefix/share/mutt-wizard" +[ -d "$HOME/.config/isync" ] && mkdir -p $HOME/.config/isync mbsyncrc="$HOME/.config/isync/mbsyncrc" mwconfig="$muttshare/mutt-wizard.muttrc" cachedir="$HOME/.cache/mutt-wizard"