otp script: Printf is not needed here (#1062)
This commit is contained in:
parent
5f3576da16
commit
ebcc52f1fb
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue