From 6cd762ebfa268351754a607e5c003699ff8fe463 Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Sat, 25 Jan 2025 04:52:16 +0900 Subject: modified bin/mw --- bin/mw | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/mw b/bin/mw index f54418f..6d7f669 100755 --- a/bin/mw +++ b/bin/mw @@ -206,15 +206,15 @@ askinfo() { [ -z "$passprefix" ] && passprefix="" hostname="${fulladdr#*@}" login="${login:-$fulladdr}" - if [ -n "${password+x}" ] && [ ! -f "$PASSWORD_STORE_DIR/mutt-wizard/$passprefix$fulladdr.gpg" ]; then + if [ -n "${password+x}" ] && [ ! -f "$PASSWORD_STORE_DIR/mail/mutt/$passprefix$fulladdr.gpg" ]; then insertpass - elif [ ! -f "$PASSWORD_STORE_DIR/mutt-wizard/$passprefix$fulladdr.gpg" ]; then + elif [ ! -f "$PASSWORD_STORE_DIR/mail/mutt/$passprefix$fulladdr.gpg" ]; then getpass fi } insertpass() { - printf "%s" "$password" | pass insert -fe "$PASSWORD_STORE_DIR/mutt-wizard/$passprefix$fulladdr" + printf "%s" "$password" | pass insert -fe "$PASSWORD_STORE_DIR/mail/mutt/$passprefix$fulladdr" } errorexit() { -- cgit v1.2.3