about summary refs log tree commit diff
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
parent3f8decaf7d178c90ef6277a749f1b721f383e65b (diff)
downloadzsh-599ad93a9358ea37ae3172261a58f9c0366393bf.tar.gz
zsh-599ad93a9358ea37ae3172261a58f9c0366393bf.tar.xz
zsh-599ad93a9358ea37ae3172261a58f9c0366393bf.zip
30794: update completions for new options
-rw-r--r--ChangeLog7
-rw-r--r--Completion/Unix/Command/_irssi1
-rw-r--r--Completion/Unix/Command/_mutt10
3 files changed, 14 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index ace71f6ef..bac581ff5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-11-12  Oliver Kiddle <opk@zsh.org>
+
+	* 30794: Completion/Unix/Command/_irssi,
+	Completion/Unix/Command/_mutt: update for new options
+
 2012-11-11  Oliver Kiddle <opk@zsh.org>
 
 	* 30793: Completion/Unix/Command/_getent,
@@ -322,5 +327,5 @@
 
 *****************************************************
 * This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.5757 $
+* $Revision: 1.5758 $
 *****************************************************
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]' \