summary refs log tree commit diff
path: root/Completion/User
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2001-03-22 12:30:33 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2001-03-22 12:30:33 +0000
commit2849199f3ce96db38cb9003c977b5b7cc783c86a (patch)
tree4a04740237b66e69edcea8eb2371d18609be3d5f /Completion/User
parentdb0e5c2d8bd8c7dea33b70a3b71df59f29c25b6a (diff)
downloadzsh-2849199f3ce96db38cb9003c977b5b7cc783c86a.tar.gz
zsh-2849199f3ce96db38cb9003c977b5b7cc783c86a.tar.xz
zsh-2849199f3ce96db38cb9003c977b5b7cc783c86a.zip
Some tweaks for nmh in _mh
Diffstat (limited to 'Completion/User')
-rw-r--r--Completion/User/_mh7
1 files changed, 6 insertions, 1 deletions
diff --git a/Completion/User/_mh b/Completion/User/_mh
index 630ad11cf..76ef0fa5c 100644
--- a/Completion/User/_mh
+++ b/Completion/User/_mh
@@ -1,4 +1,4 @@
-#compdef folder folders comp inc mark refile repl scan show next prev rmm pick whom mhn mhpath
+#compdef folder folders comp inc mark refile repl scan show next prev rmm pick whom mhn mhpath mhlist mhstore mhshow mhparam mhmail
 
 # Completion for all possible MH commands.
 
@@ -50,6 +50,11 @@ 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 [[ $service = mhparam ]]; then
+  _wanted parameters expl 'MH parameter' compadd - \
+    ${${(f)"$(mhparam -all)"}%%:*}
+elif [[ $service = mhmail ]]; then
+  _user_at_host
 else
   # Generate sequences.
   local foldnam folddir f ret