浏览代码

don't ask realname if not given; assume userid

tags/v3.1
Luke Smith 4 年前
父节点
当前提交
16de5dc350
找不到此签名对应的密钥 GPG 密钥 ID: 4C50B54A911F6252
共有 2 个文件被更改,包括 2 次插入3 次删除
  1. +1
    -1
      README.md
  2. +1
    -2
      bin/mw

+ 1
- 1
README.md 查看文件

@@ -49,7 +49,7 @@ The mutt-wizard is run with the command `mw`. Once everything is setup, you'll u
#### Providing arguments

- `-u` -- Give an account username if different from the email address.
- `-n` -- A real name to be used by the account. Put in quotations if multiple words
- `-n` -- A real name to be used by the account. Put in quotations if multiple words.
- `-i` -- IMAP server address
- `-I` -- IMAP server port (otherwise assumed to be 993)
- `-s` -- SMTP server address


+ 1
- 2
bin/mw 查看文件

@@ -180,8 +180,7 @@ askinfo() { \
[ -z "$smtp" ] && echo "Give your email server's SMTP address (excluding the port number):" &&
read -r smtp
[ "$sport" = 465 ] && tlsline="tls_starttls off"
[ -z "$realname" ] && echo "Give the name you would like to be identified by on the email account:" &&
read -r realname
[ -z "$realname" ] && realname="${fulladdr%%@*}"
login="${login:-$fulladdr}"
if [ -n "${password+x}" ]; then
createpass


正在加载...
取消
保存