summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2019-04-22 15:52:32 -0400
committerLuke Smith <luke@lukesmith.xyz>2019-04-22 15:52:32 -0400
commitacc392df7243b6be4d2a3a7b86203b9f0752f798 (patch)
tree095f381c98e86bded13e16b5ee94647488ef85d7 /bin
parent2fb43d2e4703260b53a66d60f4ac04bbd49ae60e (diff)
cachedir deleted on purge
Diffstat (limited to 'bin')
-rwxr-xr-xbin/mw2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/mw b/bin/mw
index 88de421..2ceeb23 100755
--- a/bin/mw
+++ b/bin/mw
@@ -256,7 +256,7 @@ asktype() { while : ; do
esac; done ;}
purge() { confirm "delete all account data" || exit
- rm -rf "$mbsyncrc" "$accdir" "$HOME/.config/msmtp"
+ rm -rf "$mbsyncrc" "$accdir" "$HOME/.config/msmtp" "$cachedir"
echo "All configs and account settings have been purged."
sed -i "/\# mw-autogenerated/d" "$muttrc"
}