about summary refs log tree commit diff
path: root/Completion/Unix/Command/_mh
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2005-12-09 19:21:54 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2005-12-09 19:21:54 +0000
commitf18a78a326c252c4d0279c142e7f762fbe2fe7fd (patch)
treecf28dd1dafc4ecc3a3f2773d2f2339aee7267781 /Completion/Unix/Command/_mh
parent00a88277bd5ab94a8e9b3a5a6c7d4e3c5a5dabbd (diff)
downloadzsh-f18a78a326c252c4d0279c142e7f762fbe2fe7fd.tar.gz
zsh-f18a78a326c252c4d0279c142e7f762fbe2fe7fd.tar.xz
zsh-f18a78a326c252c4d0279c142e7f762fbe2fe7fd.zip
unposted: better completion for sortm
Diffstat (limited to 'Completion/Unix/Command/_mh')
-rw-r--r--Completion/Unix/Command/_mh6
1 files changed, 6 insertions, 0 deletions
diff --git a/Completion/Unix/Command/_mh b/Completion/Unix/Command/_mh
index 5a9348069..69f6c2da2 100644
--- a/Completion/Unix/Command/_mh
+++ b/Completion/Unix/Command/_mh
@@ -56,6 +56,12 @@ elif [[ "$prev" = -(no|)cc ]]; then
   _wanted -C "$prev" values expl 'CC address' compadd all to cc me
 elif [[ "$prev" = -[rw]cache ]]; then
   _wanted -C "$prev" values expl cache compadd public private never ask
+elif [[ "$prev" = -textfield ]]; then
+  _wanted -C "$prev" -x headers expl header compadd -M 'm:{a-zA-Z}={A-Za-z}' \
+      Subject From To cc
+elif [[ "$prev" = -datefield ]]; then
+  _wanted -C "$prev" -x headers expl header compadd -M 'm:{a-zA-Z}={A-Za-z}' \
+      Delivery-Date
 elif [[ $service = mhparam ]]; then
   _wanted parameters expl 'MH parameter' compadd - \
     ${${(f)"$(mhparam -all)"}%%:*}