Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: _mutt option repetition



I was bitten when trying to complete arguments to multiple -a's.
The same applies for -b and -c, but not, as I had suspected, -i.

Index: Completion/User/_mutt
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/User/_mutt,v
retrieving revision 1.2
diff -u -r1.2 _mutt
--- Completion/User/_mutt	2000/05/05 13:38:46	1.2
+++ Completion/User/_mutt	2000/07/22 04:37:47
@@ -5,9 +5,9 @@
 
 _arguments -C \
     '::recipient:->userhost' \
-    '-a:MIME attachment:_files' \
-    '-b:BCC recipient:->userhost' \
-    '-c:CC recipient:->userhost' \
+    '*-a:MIME attachment:_files' \
+    '*-b:BCC recipient:->userhost' \
+    '*-c:CC recipient:->userhost' \
     '-e:post-init configuration:' \
     '-f+:mailbox: _mailboxes' \
     '-F+:init file:_files' \



Messages sorted by: Reverse Date, Date, Thread, Author