您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

wipe_settings.sh 380 B

123456789101112
  1. #!/bin/bash
  2. muttdir="$HOME/.config/mutt/"
  3. wipe () { rm $HOME/.offlineimaprc
  4. rm -rf "$muttdir"/accounts
  5. rm -f "$muttdir"credentials/*gpg
  6. rm "$muttdir"personal.muttrc ;}
  7. (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
  8. clear