diff options
author | InigoGutierrez <inigogf@disroot.org> | 2024-02-19 14:34:14 +0100 |
---|---|---|
committer | InigoGutierrez <inigogf@disroot.org> | 2024-02-19 14:34:14 +0100 |
commit | 4d56cdfa7c56e48f00813bf112deb0cf2e7bf5f6 (patch) | |
tree | a125408c98098eec141a05e4ea25232c3c80420c | |
parent | 039a79d51b37f1f0f9dd125ba324e292bb3d32c7 (diff) | |
download | scripts-4d56cdfa7c56e48f00813bf112deb0cf2e7bf5f6.tar.gz scripts-4d56cdfa7c56e48f00813bf112deb0cf2e7bf5f6.zip |
Created script to choose and copy a password with fzf.
-rwxr-xr-x | passCopy.sh | 6 |
1 files changed, 6 insertions, 0 deletions
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)" |