aboutsummaryrefslogtreecommitdiff
path: root/passCopy.sh
diff options
context:
space:
mode:
Diffstat (limited to 'passCopy.sh')
-rwxr-xr-xpassCopy.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/passCopy.sh b/passCopy.sh
index 4279e9d..976d5f8 100755
--- a/passCopy.sh
+++ b/passCopy.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-pass -c "$(tree --noreport -f .password-store |
+pass -c "$(tree --noreport -f "${HOME}/.password-store" |
grep -o '[^ ]*.gpg$' |
- sed 's|^.password-store/||; s|.gpg$||' |
+ sed 's|^.*\.password-store/||; s|.gpg$||' |
fzf)"