dotfiles/bin/secret.sh

9 lines
129 B
Bash
Executable file

#!/bin/sh
gopass show -o "$1" "$2"
# wait until the password is available
while [ $? != 0 ]; do
gopass show -o "$1" "$2"
done