diff options
author | Luke <luke@lukesmith.xyz> | 2018-02-18 08:24:57 -0700 |
---|---|---|
committer | Luke <luke@lukesmith.xyz> | 2018-02-18 08:24:57 -0700 |
commit | 91eb7744f2674701a86a064954a31125fdebf005 (patch) | |
tree | 937ff224bbecc850b916c3a76dba8ca5b75fd542 | |
parent | 9160af5d38784a2a5a1bc853bdb04314a0b60044 (diff) |
addaccount redundant dir creation
-rwxr-xr-x | mutt-wizard.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mutt-wizard.sh b/mutt-wizard.sh index 559c19d..62917dd 100755 --- a/mutt-wizard.sh +++ b/mutt-wizard.sh @@ -147,6 +147,7 @@ addAccount() { # Creating the offlineimaprc if it doesn't exist already. if [ ! -f ~/.offlineimaprc ]; then cp "$muttdir"autoconf/offlineimap_header ~/.offlineimaprc; fi cat "$muttdir"autoconf/offlineimap_profile | sed -e "$replacement" >> ~/.offlineimaprc + mkdir -p ~/.mail/$title # Add the mutt profile. cat "$muttdir"autoconf/mutt_profile | sed -e "$replacement" > "$muttdir"accounts/$title.muttrc |