LukeSmithxyz / mutt-wizard

A system for automatically configuring mutt and isync with a simple interface and safe passwords
GNU General Public License v3.0
2.39k stars 381 forks source link

check for existance previous setups of mutt and neomutt #916

Open lumpsoid opened 1 year ago

lumpsoid commented 1 year ago

Because I was a bit lazy when installing mutt-wizard, I wasn't quite sure how the set-up would behave with my previous settings of both mutt and neomutt, and it ended up being a bit confusing as to why it didn't work because there were different rc files.

maybe an extra word of foolproofing should have been added? so that there would be a check for availability of configurations for neomutt and mutt, followed by a promt that agreed that the configurations would be renamed, for example:

mv ~/.config/neomutt ~/.config/neomutt.backup
mv ~/.config/mutt ~/.config/mutt.backup

and the subsequent installation of everything necessary

and if the user refuses, interrupt the installation/configuration and offer options on the folders (display the path to them)