mutt-wizard

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

commit da764165f5839364447a52556ed7d15d4c70429e
parent 82278e39af76777f470ad249cb23b10a9be7300a
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Sun, 21 Apr 2019 21:58:53 -0400

mbsync check at start

Diffstat:
Mbin/mw | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/bin/mw b/bin/mw @@ -1,5 +1,6 @@ #!/bin/sh [ ! -f "$HOME/.password-store/.gpg-id" ] && printf "\`pass\` must be installed and initialized to encrypt passwords.\\nBe sure it is installed and run \`pass init <yourgpgemail>\`.\\nIf you don't have a GPG public private key pair, run \`gpg --full-gen-key\` first.\\n" && exit +! command -v mbsync >/dev/null && printf "\`mbsync\` must be installed to run mutt-wizard.\\n" && exit muttdir="$HOME/.config/mutt" # Main mutt config location accdir="$muttdir/accounts" # Directory for account settings maildir="$HOME/.local/share/mail" # Location of mail storage