瀏覽代碼

Merge pull request #921 from iStagnant/master

Made script more readable and redirected error
pull/924/head
Luke Smith 1 年之前
committed by GitHub
父節點
當前提交
4d533e4f2f
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4AEE18F83AFDEB23
共有 1 個檔案被更改,包括 15 行新增2 行删除
  1. +15
    -2
      completion/_mutt-wizard.zsh

+ 15
- 2
completion/_mutt-wizard.zsh 查看文件

@@ -24,9 +24,22 @@ case "$state" in
case $line[1] in
-a)
_alternative \
'args: :((-u\:"Account login name if not full address" -n\:"Real name to be on the email account" -i\:"IMAP/POP server address" -I\:"IMAP/POP server port" -s\:"SMTP server address" -S\:"SMTP server port" -x\:"Password for account (recommended to be in double quotes)" -P\:"Pass Prefix (prefix of the file where password is stored)" -p\:"Add for a POP server instead of IMAP." -X\:"Delete an account'"'"'s local email too when deleting." -o\:"Configure address, but keep mail online." -f\:"Assume typical English mailboxes without attempting log-on."))'
'args: :((
-u\:"Account login name if not full address"
-n\:"Real name to be on the email account"
-i\:"IMAP/POP server address"
-I\:"IMAP/POP server port"
-s\:"SMTP server address"
-S\:"SMTP server port"
-x\:"Password for account (recommended to be in double quotes)"
-P\:"Pass Prefix (prefix of the file where password is stored)"
-p\:"Add for a POP server instead of IMAP."
-X\:"Delete an account'"'"'s local email too when deleting."
-o\:"Configure address, but keep mail online."
-f\:"Assume typical English mailboxes without attempting log-on."
))'
;;
-D|-y)
_values 'email list' $(mw -l | cut -f2)
_values 'email list' $(mw -l | cut -f2) 2>/dev/null
esac
esac

Loading…
取消
儲存