cachedir deleted on purge
This commit is contained in:
parent
2fb43d2e47
commit
acc392df72
2
bin/mw
2
bin/mw
@ -256,7 +256,7 @@ asktype() { while : ; do
|
|||||||
esac; done ;}
|
esac; done ;}
|
||||||
|
|
||||||
purge() { confirm "delete all account data" || exit
|
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."
|
echo "All configs and account settings have been purged."
|
||||||
sed -i "/\# mw-autogenerated/d" "$muttrc"
|
sed -i "/\# mw-autogenerated/d" "$muttrc"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user