ソースを参照

remove msmtprc entry on del

tags/v3.1
Luke Smith 5年前
コミット
542ae0081f
この署名に対応する既知のキーがデータベースに存在しません GPGキーID: 4C50B54A911F6252
1個のファイルの変更3行の追加1行の削除
  1. +3
    -1
      mutt-wizard.sh

+ 3
- 1
mutt-wizard.sh ファイルの表示

@@ -128,7 +128,9 @@ removeAccount() { sed -ie "
rm "$muttdir"/accounts/$1.muttrc rm "$muttdir"/accounts/$1.muttrc
rm "$muttdir"/credentials/$1.gpg rm "$muttdir"/credentials/$1.gpg
rm -rf "$muttdir"/accounts/$1 rm -rf "$muttdir"/accounts/$1
sed -i "/$1.muttrc/d" "$muttdir"/personal.muttrc ;}
sed -i "/$1.muttrc/d" "$muttdir"/personal.muttrc
# Delete from the line matching the account name, until the next account or empty line
sed -i "/account $1/,/^\(\s*$\|account\)/d" ~/.msmtprc ;}


manual() { \ manual() { \
imap=$( dialog --inputbox "Insert the IMAP server for your email provider (excluding the port number)" 10 60 3>&1 1>&2 2>&3 3>&- ) imap=$( dialog --inputbox "Insert the IMAP server for your email provider (excluding the port number)" 10 60 3>&1 1>&2 2>&3 3>&- )


読み込み中…
キャンセル
保存