summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2019-04-19 18:07:38 -0400
committerLuke Smith <luke@lukesmith.xyz>2019-04-19 18:07:38 -0400
commitbd6e63436ddc9bd45af84501d6e4fc68b44df49e (patch)
tree4b190ba786b8433b4a3c50462302f3c688616769
parent22e33e6aa4f1862f87240009954182d3614a7f22 (diff)
warnings moved closer to command line
-rwxr-xr-xmw2
1 files changed, 1 insertions, 1 deletions
diff --git a/mw b/mw
index a311495..46433e4 100755
--- a/mw
+++ b/mw
@@ -138,11 +138,11 @@ addaccount() { \
IFS=, read -r service imap iport smtp sport <<EOF
$serverinfo
EOF
+ printf "\\n\033[3;33mCongrats!\033[0m Server info has automatically be found, so you won't have to look anything up!\\n\t\033[1mIMAP server\033[0m: %s\\n\t\033[1mIMAP port\033[0m: %s\\n\t\033[1mSMTP server\033[0m: %s\\n\t\033[1mSMTP port\033[0m: %s\\nThis data will be used by the wizard.\\n" "$imap" "$iport" "$smtp" "$sport"
case "$service" in
gmail.com) printf "\033[31mREMEMBER: Gmail users must enable \"less secure\" (third-party) applications first for the sync to work:\\nhttps://support.google.com/accounts/answer/6010255\\n\033[0m" ;;
protonmail.*) printf "\033[31mREMEMBER: Protonmail users must install and configure Protonmail Bridge first for the sync to work:\\nhttps://protonmail.com/bridge/\\n\033[0m" ;;
esac
- printf "\\n\033[3;33mCongrats!\033[0m Server info has automatically be found, so you won't have to look anything up!\\n\t\033[1mIMAP server\033[0m: %s\\n\t\033[1mIMAP port\033[0m: %s\\n\t\033[1mSMTP server\033[0m: %s\\n\t\033[1mSMTP port\033[0m: %s\\nThis data will be used by the wizard.\\n" "$imap" "$iport" "$smtp" "$sport"
fi
cont
printf "Enter the \033[35mfull name\033[0m you want to be identified by on this account.\\n\tReal name: "