diff options
Diffstat (limited to 'wipe_settings.sh')
-rwxr-xr-x | wipe_settings.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/wipe_settings.sh b/wipe_settings.sh new file mode 100755 index 0000000..bfdd8b8 --- /dev/null +++ b/wipe_settings.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +muttdir="$HOME/.config/mutt/" + +wipe () { rm $HOME/.offlineimaprc +rm -rf "$muttdir"/accounts +rm -f "$muttdir"credentials/*gpg +rm "$muttdir"personal.muttrc ;} + +(dialog --defaultno --title "Wipe all custom neomutt/offlineIMAP settings?" --yesno "Would you like to wipe all of the mutt/offlineIMAP settings generated by the system?" 6 60 && wipe) || clear && exit + +clear |