completion: update list of commands in zsh completion.

This is actually generated by the script in

     id:1420289900-29717-2-git-send-email-david@tethera.net

We may as well update the list of commands while we decide if it's
worth automating the process. Note that there is a bit more noise than
expected because it alphabetizes all of the commands with their own
man pages.
This commit is contained in:
David Bremner 2015-01-10 11:23:03 +01:00
parent f4a5a534c8
commit 35e49601c4

View file

@ -7,16 +7,21 @@ _notmuch_commands()
{ {
local -a notmuch_commands local -a notmuch_commands
notmuch_commands=( notmuch_commands=(
'setup:interactively set up notmuch for first use' 'help:display documentation for a subcommand'
'new:find and import any new message to the database' 'setup:interactively configure notmuch'
'search:search for messages matching the search terms, display matching threads as results'
'address:get addresses from messages matching the given search terms' 'address:output addresses from matching messages'
'reply:constructs a reply template for a set of messages' 'compact:compact the notmuch database'
'show:show all messages matching the search terms' 'config:access notmuch configuration file'
'tag:add or remove tags for all messages matching the search terms' 'count:count messages matching the given search terms'
'dump:creates a plain-text dump of the tags of each message' 'dump:creates a plain-text dump of the tags of each message'
'restore:restores the tags from the given file' 'insert:add a message to the maildir and notmuch database'
'help:show details on a command' 'new:incorporate new mail into the notmuch database'
'reply:constructs a reply template for a set of messages'
'restore:restores the tags from the given file (see notmuch dump)'
'search:search for messages matching the given search terms'
'show:show messages matching the given search terms'
'tag:add/remove tags for all messages matching the search terms'
) )
_describe -t command 'command' notmuch_commands _describe -t command 'command' notmuch_commands