diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-01-25 04:52:16 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-01-25 04:52:16 +0900 |
| commit | 6cd762ebfa268351754a607e5c003699ff8fe463 (patch) | |
| tree | 19c3d08392a09f382fd28874edbeed6ce6e57456 | |
| parent | 23e007a9848347c1f2bef4ca2a5b1dc1f3be8c5d (diff) | |
modified bin/mw
| -rwxr-xr-x | bin/mw | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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() { |
