about summary refs log tree commit diff
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
parent00a88277bd5ab94a8e9b3a5a6c7d4e3c5a5dabbd (diff)
downloadzsh-f18a78a326c252c4d0279c142e7f762fbe2fe7fd.tar.gz
zsh-f18a78a326c252c4d0279c142e7f762fbe2fe7fd.tar.xz
zsh-f18a78a326c252c4d0279c142e7f762fbe2fe7fd.zip
unposted: better completion for sortm
-rw-r--r--ChangeLog2
-rw-r--r--Completion/Unix/Command/_mh6
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 8533c498b..b215dd532 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2005-12-09  Oliver Kiddle  <opk@zsh.org>
 
+	* unposted: Completion/Unix/Command/_mh: better completion for sortm
+
 	* unposted: configure.ac: require autoconf 2.53b
 
 2005-12-09  Clint Adams  <clint@zsh.org>
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)"}%%:*}