summaryrefslogtreecommitdiff
path: root/config/essentials/zsh/functions.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'config/essentials/zsh/functions.zsh')
-rw-r--r--config/essentials/zsh/functions.zsh8
1 files changed, 8 insertions, 0 deletions
diff --git a/config/essentials/zsh/functions.zsh b/config/essentials/zsh/functions.zsh
index a63bf69..7dd0112 100644
--- a/config/essentials/zsh/functions.zsh
+++ b/config/essentials/zsh/functions.zsh
@@ -249,3 +249,11 @@ addedkeys () {
fi
done | sed "s,$HOME/.ssh/,,"
}
+
+fpass () {
+ find $HOME/.password-store -type f -not -path ".git" |
+ grep "\.gpg$" |
+ sed "s,$HOME/.password-store/,,;s,\.gpg$,," |
+ fzf |
+ xargs pass show -c
+}