Browse Source

big deletion fix

tags/v3.1
Luke Smith 5 years ago
parent
commit
217bbe8c96
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

@@ -220,7 +220,7 @@ pick() { printf "Select an accounts to %s:\\n" "$1"
return 0 ;}

delete() { sed -i "/IMAPStore $title-remote$/,/# End profile/d" "$mbsyncrc"
rm -rf "${accdir:?}/${title:?}" "$accdir/[1-9]-$title.muttrc"
rm -rf "${cachedir:?}/${title:?}" "$accdir/"[1-9]"-$title.muttrc"
sed -i "/[0-9]-$title.muttrc/d" "$muttrc"
sed -i "/account $title/,/^\(\s*$\|account\)/d" "$HOME/.config/msmtp/config"
}


Loading…
Cancel
Save