소스 검색

delete account fix

tags/v3.1
Luke Smith 5 년 전
부모
커밋
7e189bd263
No known key found for this signature in database GPG 키 ID: 4C50B54A911F6252
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      mw

+ 1
- 1
mw 파일 보기

@@ -236,7 +236,7 @@ pick() { numbered="$(ls $accdir/*muttrc | sed "s/.*\///;s/\..*//" | nl)"
[ -z "$title" ] && printf "Invalid response." && return 1
return 0 ;}

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


불러오는 중...
취소
저장