From 7c5a3f29d42c3035b0af4de3351b24c0dc711bd7 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Mon, 19 Oct 2015 13:55:59 +0100 Subject: Use gpg2 by default to prevent error --- bin/password | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/password') diff --git a/bin/password b/bin/password index b0415e3..e064e29 100755 --- a/bin/password +++ b/bin/password @@ -2,4 +2,4 @@ PWD_DIR="$HOME/dotfiles/.passwords" PASSWORDS=$(locate "$PWD_DIR/**/*.gpg") TARGET=$(echo "${PASSWORDS//"$PWD_DIR/"/}" | dmenu -i -p "Decode password:") -gpg --use-agent --quiet --batch -d $PWD_DIR/$TARGET | xclip -i +gpg2 --use-agent --quiet --batch -d $PWD_DIR/$TARGET | xclip -i -- cgit v1.2.3