From 599ad93a9358ea37ae3172261a58f9c0366393bf Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Mon, 12 Nov 2012 08:21:15 +0000 Subject: 30794: update completions for new options --- ChangeLog | 7 ++++++- Completion/Unix/Command/_irssi | 1 + Completion/Unix/Command/_mutt | 10 +++++++--- 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 + + * 30794: Completion/Unix/Command/_irssi, + Completion/Unix/Command/_mutt: update for new options + 2012-11-11 Oliver Kiddle * 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]' \ -- cgit 1.4.1