diff options
author | InigoGutierrez <inigogf@disroot.org> | 2024-02-19 14:36:04 +0100 |
---|---|---|
committer | InigoGutierrez <inigogf@disroot.org> | 2024-02-19 14:36:04 +0100 |
commit | bf695c3ea562f1f95c45ca9058c442d83bce8b03 (patch) | |
tree | 295312c53daaa21e70ced38b3ae7593ed66c5e14 | |
parent | 4d56cdfa7c56e48f00813bf112deb0cf2e7bf5f6 (diff) | |
download | scripts-bf695c3ea562f1f95c45ca9058c442d83bce8b03.tar.gz scripts-bf695c3ea562f1f95c45ca9058c442d83bce8b03.zip |
Fixed passCopy.sh
-rwxr-xr-x | passCopy.sh | 4 |
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)" |