aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpassCopy.sh6
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)"