mutt-wizard

fork of Luke Smiths mutt-wizard
git clone git://git.jakekoroman.com/mutt-wizard
Log | Files | Refs | README | LICENSE

commit 217bbe8c96033a892f8b6ef39e7215b2ff262392
parent acc392df7243b6be4d2a3a7b86203b9f0752f798
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Mon, 22 Apr 2019 16:08:52 -0400

big deletion fix

Diffstat:
Mbin/mw | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/mw b/bin/mw @@ -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" }