summary refs log tree commit diff
path: root/Completion/Unix/Command
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2012-11-12 08:21:15 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2012-11-12 08:21:15 +0000
commit599ad93a9358ea37ae3172261a58f9c0366393bf (patch)
treec00463f27bcf1b220502bfd70ff47b1365cffca4 /Completion/Unix/Command
parent3f8decaf7d178c90ef6277a749f1b721f383e65b (diff)
downloadzsh-599ad93a9358ea37ae3172261a58f9c0366393bf.tar.gz
zsh-599ad93a9358ea37ae3172261a58f9c0366393bf.tar.xz
zsh-599ad93a9358ea37ae3172261a58f9c0366393bf.zip
30794: update completions for new options
Diffstat (limited to 'Completion/Unix/Command')
-rw-r--r--Completion/Unix/Command/_irssi1
-rw-r--r--Completion/Unix/Command/_mutt10
2 files changed, 8 insertions, 3 deletions
diff --git a/Completion/Unix/Command/_irssi b/Completion/Unix/Command/_irssi
index ee1e1ef43..fd64b5efc 100644
--- a/Completion/Unix/Command/_irssi
+++ b/Completion/Unix/Command/_irssi
@@ -30,6 +30,7 @@ _arguments -s \
   '--noconnect[disable autoconnect]' \
   '(-n --nick)'{-n,--nick=}'[set nick name]:nick:_irssi_nick' \
   '(-h --hostname)'{-h,--hostname=}'[specify hostname]:hostname:_hosts' \
+  '(-d --dummy)'{-d,--dummy}'[use the dummy terminal mode]' \
   '(-)'{-v,--version}'[display version information]' \
   '(-)'{-\?,--help}'[display help information]' \
   '(-)--usage[display usage]'
diff --git a/Completion/Unix/Command/_mutt b/Completion/Unix/Command/_mutt
index c9ff98af4..3d433a0b2 100644
--- a/Completion/Unix/Command/_mutt
+++ b/Completion/Unix/Command/_mutt
@@ -1,11 +1,14 @@
 #compdef mutt
 
-_arguments -s \
+_arguments -s -S \
   '::recipient:_email_addresses -n mutt' \
-  '*-a[attach file using MIME]:file attachment:_files' \
+  '(- :)-A[expand given alias]:alias:_email_addresses -n mutt' \
+  '*-a[attach file using MIME]::file attachment:_files' \
   '*-b[specify a BCC recipient]:BCC recipient:_email_addresses -n mutt' \
   '*-c[specify a CC recipient]:CC recipient:_email_addresses -n mutt' \
-  '-e+[specify a post-init configuration command]:post-init configuration:' \
+  '(- :)-D[print the value of all variables]' \
+  '-d+[log debugging output to ~/.muttdebug0]:level:(1 2 3 4 5)' \
+  '-e+[specify a post-init configuration command]:post-init configuration' \
   '-f+[specify mailbox to load]:mailbox: _mailboxes' \
   '-F+[specify an init file]:init file:_files' \
   '-h[display help]' \
@@ -14,6 +17,7 @@ _arguments -s \
   '-m+[specify default mailbox type]:mailbox type:(mbox MMDF MH Maildir)' \
   '-n[bypass system configuration]' \
   '-p[resume postponed message]' \
+  '(- :)-Q+[query a configuration variable]:variable:(${${(f)"$(_call_program variables mutt -D 2>/dev/null)"}%%( is|=)*})' \
   '-R[open in read-only mode]' \
   '-s+[specify a subject]:subject:' \
   '-v[display mutt version]' \