commit 8c668a22e09d4118a49bbd75bc3539c297289029
parent fcf4ba52c357ed05a2b6494c25ef3bab4d4e1c0e
Author: Luke Smith <luke@lukesmith.xyz>
Date: Thu, 23 Sep 2021 16:04:28 -0400
lol
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/mw b/bin/mw
@@ -168,7 +168,7 @@ delete() { if [ -z "${fulladdr+x}" ]; then
sed -ibu "/IMAPStore $fulladdr-remote$/,/# End profile/d" "$mbsyncrc" 2>/dev/null ; rm -f "$mbsyncrc"bu
rm -rf "${cachedir:?}/${fulladdr:?}" "$accdir/$fulladdr.muttrc" "$accdir/"[0-9]-"$fulladdr.muttrc"
- sed -ibu "/[0-9]-$fulladdr.muttrc/d" "$muttrc" 2>/dev/null; rm -f "$muttrc"bu
+ sed -ibu "/[0-9]-$fulladdr.muttrc/d" "/$fulladdr.muttrc/d" "$muttrc" 2>/dev/null; rm -f "$muttrc"bu
sed -ibu "/account $fulladdr$/,/^\(\s*$\|account\)/d" "$msmtprc" 2>/dev/null; rm -f "$msmtprc"bu
sed -ibu "/account $fulladdr$/,/^\(\s*$\|account\)/d" "$mpoprc" 2>/dev/null; rm -f "$mpoprc"bu
pass rm -f "$fulladdr" >/dev/null 2>&1