With the following structure, when running
:rmdir -f on
Abc, the entireMaildir is deleted by aerc.
┌INBOX └─>┌Abc └─>┌def └─>ghi
Important info: this structure was created by a sieve operation, so
def have not been initialized and hence, when
cd-ing into them, the following error is thrown:
Personal: open /home/moritz/.mail/moritz.sh/INBOX/Abc/new: no such file or directory
The deleted directory is
/home/moritz/.mail/moritz.sh, which is the root of the maildir
In my opinion it should either just not delete at all or – preferably – the invalid directory that is selected.