summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke <luke@lukesmith.xyz>2018-02-11 18:42:57 -0700
committerLuke <luke@lukesmith.xyz>2018-02-11 18:42:57 -0700
commit720d70c144e834756bf885587d2666bf0b1cc826 (patch)
treefd724283fb4a6aa6c67488129e0c896444f066b3
parent794cefe2a6af5c4e09b1bd7c9c575ed6039e1c56 (diff)
shortcut removal fix
-rwxr-xr-xmutt-wizard.sh2
1 files changed, 1 insertions, 1 deletions
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>&- )