summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2018-11-10 21:51:39 -0500
committerJesse Luehrs <doy@tozt.net>2018-11-10 21:51:39 -0500
commit2a3770447dc86f0c0ed5ffbbc8fa799cf5c5312b (patch)
treef183aae93c47fe3f1bb1983c011256d6e08a84a9 /bin
parente382a7ebb656db844f7f694af6aee747f188c957 (diff)
downloadconf-2a3770447dc86f0c0ed5ffbbc8fa799cf5c5312b.tar.gz
conf-2a3770447dc86f0c0ed5ffbbc8fa799cf5c5312b.zip
add script for searching through my passwords
Diffstat (limited to 'bin')
-rwxr-xr-xbin/hush/p5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/hush/p b/bin/hush/p
new file mode 100755
index 0000000..c2cbc9a
--- /dev/null
+++ b/bin/hush/p
@@ -0,0 +1,5 @@
+#!/bin/sh
+set -eu
+set -o pipefail
+
+pass git ls-files | grep '\.gpg$' | sed 's/\.gpg$//' | fzf | xargs pass "$@"