From ed3efbe2f920f62ae0eb42b00735552929e8aaa5 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Fri, 11 Mar 2016 11:44:55 +0000 Subject: Fix id script --- bin/id | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/id b/bin/id index 3be501a..d42bb39 100755 --- a/bin/id +++ b/bin/id @@ -1,5 +1,5 @@ #! /bin/bash -PWD_DIR="$HOME/dotfiles/.passwords" -PASSWORDS=$(locate "$PWD_DIR/**/*.gpg") +PWD_DIR="$HOME/.password-store" +PASSWORDS=$(locate "${PWD_DIR}/**/*.gpg") TARGET=$(echo "${PASSWORDS//"$PWD_DIR/"/}" | dmenu -i -p "Get identifier for:") basename $TARGET .gpg | xclip -i -- cgit v1.2.3