blob: 4cdeafd5d0f8810112163b1ae085088b3ff7ce4c (
plain) (
tree)
|
|
#!/bin/sh
set -e
[ ${#} -ne 0 ]
password_file=$(gopass ls --flat | grep "${@}" | head -n 1)
[ "${password_file}" ]
echo "+ password: ${password_file}" >&2
exec gopass show -o "${password_file}"
|