summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorDirk-Jan C. Binnema <djcb@djcbsoftware.nl>2011-05-25 22:04:32 +0300
committerDirk-Jan C. Binnema <djcb@djcbsoftware.nl>2011-05-25 22:04:32 +0300
commit4d183fc868bea9b159c700dec22581ccd19cb22e (patch)
tree8f2ceed8abe2e3d62e18a4ddd9c116f4695ad081 /contrib
parent1e356ed313b3007d38e4fb05de8aba672dfa3919 (diff)
* update zsh completions (still very much WIP)
Diffstat (limited to 'contrib')
-rw-r--r--contrib/mu-completion.zsh12
1 files changed, 9 insertions, 3 deletions
diff --git a/contrib/mu-completion.zsh b/contrib/mu-completion.zsh
index 17b5462..4e0cbf9 100644
--- a/contrib/mu-completion.zsh
+++ b/contrib/mu-completion.zsh
@@ -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() {