Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

find ~/.password-store -name '*.gpg' -printf '%P\n' | sed -e 's:.gpg$::gi' | fzf | xargs pass -c

There is also an extension: https://github.com/ficoos/pass-fzf



Good point, but `pacman -S gopass` is wa-a-ay easier ;-)


I use a bash function:

  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.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: