diff options
author | Luke Smith <luke@lukesmith.xyz> | 2020-07-09 17:51:00 -0400 |
---|---|---|
committer | Luke Smith <luke@lukesmith.xyz> | 2020-07-09 17:51:00 -0400 |
commit | 832b643c48d18959344611544a1dd607eeca4f92 (patch) | |
tree | a14c35f9805e91b79c28e47c96bd7d8e4854c6f8 /bin/mw | |
parent | 96c0073ecfa9d8063404c23b48570287adf1544d (diff) | |
parent | c4144ffb7c479830acf579caa05e9f85f71b36aa (diff) |
Merge branch 'master' of github.com:LukeSmithxyz/mutt-wizard
Diffstat (limited to 'bin/mw')
-rwxr-xr-x | bin/mw | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3,7 +3,7 @@ command -V gpg >/dev/null 2>&1 && GPG="gpg" || GPG="gpg2" [ -z ${PASSWORD_STORE_DIR+x} ] && PASSWORD_STORE_DIR="$HOME/.password-store" [ -r "$PASSWORD_STORE_DIR/.gpg-id" ] && - "$GPG" --list-secret-keys "$(cat "$PASSWORD_STORE_DIR/.gpg-id")" >/dev/null 2>&1 || { + "$GPG" --list-secret-keys $(cat "$PASSWORD_STORE_DIR/.gpg-id") >/dev/null 2>&1 || { 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 \`%s --full-gen-key\` first.\\n" "$GPG" exit } |