minor interface changes

This commit is contained in:
Luke Smith 2019-04-20 18:45:07 -04:00
parent 018ee2aedd
commit 629ecc8e56
No known key found for this signature in database
GPG Key ID: 4C50B54A911F6252

4
mw
View File

@ -108,7 +108,7 @@ fi
}
addaccount() { \
printf "Insert the \033[31memail address\033[0m that you want to autoconfigure for mutt/mbsync\\n\\nEmail: \033[36m\t"
printf "Insert the \033[31memail address\033[0m that you want to autoconfigure for mutt/mbsync\\n\tEmail: \033[36m"
read -r fulladdr
printf "\033[0m"
while ! echo "$fulladdr" | grep "$emailre" >/dev/null; do
@ -261,7 +261,7 @@ choosecron() { ! pgrep crond >/dev/null && echo "No cron manager running. Instal
addtype() { ! command -v mbsync >/dev/null && printf "You must have the \`mbsync\` command to add an account.\\nIt syncs mail and detects remote mailboxes.\\nYou can typically get it by installing \`isync\`.\\n" && return 1
while : ; do
echo "Do you want to keep your mail for this account offline with mbsync? [yes/no]"
printf "Do you want to keep your mail for this account offline with mbsync? [yes/no]\\n\t"
read -r offnot
case "$offnot" in
[Yy]es) accounttype="offline" && break ;;