*nohtml*

local/bin/pass-menu

   1 #!/bin/bash
   2 
   3 cd ${PASSWORD_STORE_DIR:-~/.password-store} || exit
   4 
   5 s=$(find * -type f | sed 's/\.gpg//' | menu -i pass -c 10 -l 6)
   6 [[ $s ]] && pass $s | menu -i pass -p $s | xsel -bt 10000