summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-01-25 04:52:16 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-01-25 04:52:16 +0900
commit6cd762ebfa268351754a607e5c003699ff8fe463 (patch)
tree19c3d08392a09f382fd28874edbeed6ce6e57456
parent23e007a9848347c1f2bef4ca2a5b1dc1f3be8c5d (diff)
modified bin/mw
-rwxr-xr-xbin/mw6
1 files 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() {