aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorInigoGutierrez <inigogf@disroot.org>2024-02-19 14:36:04 +0100
committerInigoGutierrez <inigogf@disroot.org>2024-02-19 14:36:04 +0100
commitbf695c3ea562f1f95c45ca9058c442d83bce8b03 (patch)
tree295312c53daaa21e70ced38b3ae7593ed66c5e14
parent4d56cdfa7c56e48f00813bf112deb0cf2e7bf5f6 (diff)
downloadscripts-bf695c3ea562f1f95c45ca9058c442d83bce8b03.tar.gz
scripts-bf695c3ea562f1f95c45ca9058c442d83bce8b03.zip
Fixed 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)"