diff options
author | Luke Smith <luke@lukesmith.xyz> | 2019-02-22 17:27:12 -0500 |
---|---|---|
committer | Luke Smith <luke@lukesmith.xyz> | 2019-02-22 17:27:12 -0500 |
commit | 977b03349ab54dd013387b61cf5c0dfb2dc49b88 (patch) | |
tree | 33207b6b9deb0db68baf551faef1675b209ad58f /mw | |
parent | 92397be772d2236ca8e62f8d24d544445a18b370 (diff) |
brainlet handling
Diffstat (limited to 'mw')
-rwxr-xr-x | mw | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -7,6 +7,7 @@ creddir="$HOME/.local/share/muttwizard" # Location of encrypted credentials bindir="$HOME/.config/mutt/bin" # Location of scripts run by mutt or the wizard namere="^[a-z_][a-z0-9_-]*$" # Regex to ensure viable username emailre=".\+@.\+\\..\+" # Regex to confirm valid email address +[ ! -f "$muttdir/domains.csv" ] || [ ! -d "$bindir" ] && printf "Read the README. Be sure to put the repo in the right place before running.\\n" && exit 1 gpgemail="$(cat "$creddir/gpgemail" 2>/dev/null)" # Get previously set gpg email address tmpdir="$(mktemp -d)" GPG="gpg"; command -v gpg >/dev/null || GPG="gpg2" # Ensure proper gpg command |