Skip to content

Instantly share code, notes, and snippets.

@dshnkao
Created November 20, 2017 15:29
Show Gist options
  • Save dshnkao/9a485f5a8983a54cbf13968cc9bc9346 to your computer and use it in GitHub Desktop.
Save dshnkao/9a485f5a8983a54cbf13968cc9bc9346 to your computer and use it in GitHub Desktop.
use fzf for pass
#!/usr/bin/env bash
# use fzf to find pass .gpg
find ~/.password-store/* -type f | \
grep -E '\.gpg$' | \
sed -e "s/.*password-store\///" | \
sed -e "s/\.gpg$//" | \
fzf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment