Merge branch 'master' of github.com:LukeSmithxyz/voidrice

This commit is contained in:
Luke Smith 2022-01-21 19:28:41 -05:00
commit d76f894f84
No known key found for this signature in database
GPG key ID: 4C50B54A911F6252

View file

@ -33,7 +33,7 @@ case $choice in
if echo "$info" | pass otp insert "$otp"; then if echo "$info" | pass otp insert "$otp"; then
while true ; do while true ; do
export name="$(prinf | dmenu -p "Give this One Time Password a one-word name:")" export name="$(dmenu -p "Give this One Time Password a one-word name:")"
echo "$name" | grep -q -- "^[A-z0-9-]\+$" && break echo "$name" | grep -q -- "^[A-z0-9-]\+$" && break
done done
pass mv "$otp" "$name-otp" pass mv "$otp" "$name-otp"