summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2019-04-22 16:08:52 -0400
committerLuke Smith <luke@lukesmith.xyz>2019-04-22 16:08:52 -0400
commit217bbe8c96033a892f8b6ef39e7215b2ff262392 (patch)
tree25205e7915425443bebc5c2ba698b59be787bbf4
parentacc392df7243b6be4d2a3a7b86203b9f0752f798 (diff)
big deletion fix
-rwxr-xr-xbin/mw2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/mw b/bin/mw
index 2ceeb23..6d26188 100755
--- a/bin/mw
+++ b/bin/mw
@@ -220,7 +220,7 @@ pick() { printf "Select an accounts to %s:\\n" "$1"
return 0 ;}
delete() { sed -i "/IMAPStore $title-remote$/,/# End profile/d" "$mbsyncrc"
- rm -rf "${accdir:?}/${title:?}" "$accdir/[1-9]-$title.muttrc"
+ rm -rf "${cachedir:?}/${title:?}" "$accdir/"[1-9]"-$title.muttrc"
sed -i "/[0-9]-$title.muttrc/d" "$muttrc"
sed -i "/account $title/,/^\(\s*$\|account\)/d" "$HOME/.config/msmtp/config"
}