creese
Joined 13 years ago
Karma
131
Submissions
46
Member since
Sep 4
Joined 13 years ago
pass ()
{
if [ $# -eq 0 ] || ( [ $# -eq 1 ] && [ $1 = "-c" ] ); then
find ~/.password-store -name '\*.gpg' -printf '%P\n' | sed -e 's:.gpg$::gi' | fzf | xargs /usr/local/bin/pass $@;
else
/usr/local/bin/pass $@;
fi
}
pass + fzf + bash > gopass. DOTADIW.https://www.gnu.org/software/emacs/manual/html_node/emacs/In...
There is also an extension: https://github.com/ficoos/pass-fzf