diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-02-02 02:13:40 +0100 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-02-02 02:13:40 +0100 |
commit | e9752056b6eb824b85854e20dadac31c197cd235 (patch) | |
tree | f60f7ba21b8bdfcfadb7f504679a9b13daa343e0 /bin/menuscripts/mpwgen | |
parent | ca0cec60dacc4e8c6f8f37e0605b72bac54c9ea6 (diff) | |
parent | 541d9fa7014c5c197f7c8a09fa159ac84bd9a6a8 (diff) |
Merge branch 'main' of debuc.com:dotfiles
Diffstat (limited to 'bin/menuscripts/mpwgen')
-rwxr-xr-x | bin/menuscripts/mpwgen | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/menuscripts/mpwgen b/bin/menuscripts/mpwgen index 51b9bc4..f4f3aa4 100755 --- a/bin/menuscripts/mpwgen +++ b/bin/menuscripts/mpwgen @@ -2,7 +2,7 @@ input () { commander -c -i -p "$1"; } -choice="$(printf "multiline\nsingle\n" | commander -c -d)" +choice="$(printf "multiline\nsingle\n" | commander -c)" [ "$choice" ] || exit 1 password="$(input "name:")" @@ -11,7 +11,7 @@ password="$(input "name:")" if [ "$choice" = "multiline" ] then login="$(find "${PASSWORD_STORE_DIR:=$HOME/.password-store}"/e-mails -type f -maxdepth 1 -iname "*.gpg" -printf "%f\n" | - sed 's/\.gpg$//' | commander -c -d -p 'login:')" + sed 's/\.gpg$//' | commander -c -p 'login:')" [ "$login" ] || exit 1 url="$(input "url:")" [ "$url" ] || exit 1 |