Browse Source

cachedir deleted on purge

tags/v3.1
Luke Smith 5 years ago
parent
commit
acc392df72
No known key found for this signature in database GPG Key ID: 4C50B54A911F6252
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      bin/mw

+ 1
- 1
bin/mw View File

@@ -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…
Cancel
Save