diff options
author | Urbain Vaes <urbain@vaes.uk> | 2016-03-11 11:44:55 +0000 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2016-03-11 11:44:55 +0000 |
commit | ed3efbe2f920f62ae0eb42b00735552929e8aaa5 (patch) | |
tree | e405110018ae02c918e681a01cc2b75951d71322 /bin | |
parent | f42255040e69772fb13583644e9466e9ddaf8327 (diff) |
Fix id script
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/id | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |