summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command/_mail
diff options
context:
space:
mode:
authorAxel Beckert <abe@deuxchevaux.org>2015-05-05 23:32:59 +0200
committerAxel Beckert <abe@deuxchevaux.org>2015-05-05 23:58:59 +0200
commitdb38e167634b6c2217eec3a5aafc37c46d9e5a8d (patch)
treedaa342d423febbd3a5a7ef97053037677fab004a /Completion/Unix/Command/_mail
parent01eea47617a6e06debdb4330f92ae69f92089fd2 (diff)
parent3c3c8d3d13fd4cf6c03f81ca8dc18a1efd561728 (diff)
downloadzsh-db38e167634b6c2217eec3a5aafc37c46d9e5a8d.tar.gz
zsh-db38e167634b6c2217eec3a5aafc37c46d9e5a8d.zip
Merge branch 'upstream' into debian
Diffstat (limited to 'Completion/Unix/Command/_mail')
-rw-r--r--Completion/Unix/Command/_mail6
1 files changed, 3 insertions, 3 deletions
diff --git a/Completion/Unix/Command/_mail b/Completion/Unix/Command/_mail
index 90c75359d..d618cf366 100644
--- a/Completion/Unix/Command/_mail
+++ b/Completion/Unix/Command/_mail
@@ -1,9 +1,9 @@
#compdef mail mailx=mail Mail=mail mush zmail nail=mail
_arguments -s \
- '(-f -u)*-b[specify a BCC recipient]:BCC recipient:->userhost' \
- '(-f -u)*-c[specify a CC recipient]:CC recipient:->userhost' \
+ '(-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:' \
+ '(-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"