password-store

Simple password manager using gpg and ordinary unix directories
git clone https://git.zx2c4.com/password-store
Log | Files | Refs | README | LICENSE

commit 3f250ecca3da1e2dcf0a85d788e286a0b7212967
parent ee0d3f1a7884877a50ddc3d334777475cc2e3ea9
Author: Jason A. Donenfeld <Jason@zx2c4.com>
Date:   Wed, 16 Apr 2014 14:27:27 +0200

Better error messages.

Diffstat:
Msrc/password-store.sh | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/password-store.sh b/src/password-store.sh @@ -52,7 +52,7 @@ set_gpg_recipients() { if [[ ! -f $current ]]; then cat <<-_EOF - ERROR: You must run: + Error: You must run: $PROGRAM init your-gpg-id before you may use the password store. @@ -292,7 +292,7 @@ cmd_find() { fi if ! tree --version | grep -q "Jason A. Donenfeld"; then cat <<-_EOF - ERROR: $PROGRAM: incompatible tree command + Error: incompatible tree command. Your version of the tree command is missing the relevent patch to add the --matchdirs and --caseinsensitive switches. Please ask your distribution @@ -503,7 +503,7 @@ cmd_git() { elif [[ -d $GIT_DIR ]]; then exec git "$@" else - echo "Error: the password store is not a git repository." + echo "Error: the password store is not a git repository. Try \"$PROGRAM git init\"." exit 1 fi }