[download]

local/bin/pass-menu

   1 #!/bin/bash
   2 #         ░███████
   3 #       ░███████       D O T F I L E S
   4 #       ░███████       P A S S - M E N U
   5 #    ░█████████████
   6 #       ░███████
   7 #       ░███████       LGPL <http://www.gnu.org/licenses/>
   8 #       ░██  ░██
   9 #       ░██  ░██   (C) 2019-2020 Alexey Gagin <http://www.lexa.by/dotfiles/>
  10 
  11 cd ${PASSWORD_STORE_DIR:-~/.password-store} || exit
  12 
  13 find * -type f | sed 's/\.gpg//' | menu -i pass -c 10 -l 6 | while read i;
  14 do pass $i | menu -i pass -p $i | tr -d \\n | xsel -ibt 10000; done