From 4d56cdfa7c56e48f00813bf112deb0cf2e7bf5f6 Mon Sep 17 00:00:00 2001 From: InigoGutierrez Date: Mon, 19 Feb 2024 14:34:14 +0100 Subject: Created script to choose and copy a password with fzf. --- passCopy.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 passCopy.sh diff --git a/passCopy.sh b/passCopy.sh new file mode 100755 index 0000000..4279e9d --- /dev/null +++ b/passCopy.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +pass -c "$(tree --noreport -f .password-store | + grep -o '[^ ]*.gpg$' | + sed 's|^.password-store/||; s|.gpg$||' | + fzf)" -- cgit v1.2.1