blob: d618cf366339493cfc2be44c318965c4047a930d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
#compdef mail mailx=mail Mail=mail mush zmail nail=mail
_arguments -s \
'(-f -u)*-b[specify a BCC recipient]:BCC recipient:_email_addresses -n $service' \
'(-f -u)*-c[specify a CC recipient]:CC recipient:_email_addresses -n $service' \
'(-b -c -u -s *)-f+[specify mail folder]:mailbox:_mailboxes' \
'(-f -u)-s+[specify a subject]:subject' \
"(-b -c -f -s *)-u+[read specified user's mail]:user:_users" \
"(-f -u)*:recipient:_email_addresses -n $service"
|