From bf695c3ea562f1f95c45ca9058c442d83bce8b03 Mon Sep 17 00:00:00 2001 From: InigoGutierrez Date: Mon, 19 Feb 2024 14:36:04 +0100 Subject: Fixed passCopy.sh --- passCopy.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'passCopy.sh') 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)" -- cgit v1.2.1