瀏覽代碼

big deletion fix

tags/v3.1
Luke Smith 5 年之前
父節點
當前提交
217bbe8c96
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4C50B54A911F6252
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      bin/mw

+ 1
- 1
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"
}


Loading…
取消
儲存