* update zsh completions (still very much WIP)

This commit is contained in:
Dirk-Jan C. Binnema 2011-05-25 22:04:32 +03:00
parent 1e356ed313
commit 4d183fc868
1 changed files with 9 additions and 3 deletions

View File

@ -24,7 +24,7 @@ _mu_commands() {
'index:scan your maildirs and import their metadata in the database'
'find:search for messages in the database'
'cfind:search for contacts (name + email) in the database'
'cleanup:remove references to deleted messages from the database'
'cleanup:remove deleted messages from the database'
'extract:list message-parts (attachments) and extract them to files'
'mkdir:create maildirs'
'view:display specific messages')
@ -35,6 +35,7 @@ _mu_commands() {
_mu_common_options=(
'--debug[output information useful for debugging mu]'
'--quiet[do not give any non-critical information]'
'--no-color[do not use any colors in the output]'
'--version[display mu version and copyright information]'
'--log-stderr[log to standard error]'
)
@ -47,15 +48,20 @@ _mu_find_options=(
'--fields[fields to display in the output]'
'--sortfield[field to sort the output by]'
'--descending[sort in descending order]'
'--summary-len[length of the summary for a message]'
'--summary[include a summary of the message]'
'--bookmark[use a named bookmark]'
'--output[set the kind of output for the query]'
)
_mu_view_options=(
'--summary[only show a summary of the message]'
)
_mu_view() {
_files
_arguments -s : \
$_mu_common_options \
$_mu_view_options
}
_mu_extract() {