executable_git-pass-secrets 302 B

12345678910
  1. #!/bin/sh
  2. (
  3. cd ~/.password-store || exit
  4. for password in $(find . -not -path './.gitmodules' -not -path './.gpg-id' -not -path './.gitattributes' -not -path './.git/*' -type f | sed 's@\./@@' | sed 's@\.gpg@@'); do
  5. pass show "$password" | head -n1 | tr -d '\n'
  6. echo
  7. done
  8. )