From 720d70c144e834756bf885587d2666bf0b1cc826 Mon Sep 17 00:00:00 2001 From: Luke Date: Sun, 11 Feb 2018 18:42:57 -0700 Subject: [PATCH] shortcut removal fix --- mutt-wizard.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mutt-wizard.sh b/mutt-wizard.sh index 0cdac48..384efad 100755 --- a/mutt-wizard.sh +++ b/mutt-wizard.sh @@ -31,7 +31,7 @@ removeAccount() { sed -ie " rm "$muttdir"accounts/$1.muttrc rm "$muttdir"credentials/$1.gpg rm -rf "$muttdir"accounts/$1 - echo $1 deleted. ;} + sed -i '/$1.muttrc/d' "$muttdir"personal.muttrc ;} 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>&- )