summaryrefslogtreecommitdiffstats
path: root/completion
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2015-01-10 11:23:03 +0100
committerDavid Bremner <david@tethera.net>2015-03-06 08:02:33 +0100
commit35e49601c45d6a63e854ed2ca0b43a36cadb2d3e (patch)
tree574841a2f9ddfb41798c7b758dfa9a743194a28d /completion
parentf4a5a534c8312bc46b7c561d5f4d26600a532d96 (diff)
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.
Diffstat (limited to 'completion')
-rw-r--r--completion/notmuch-completion.zsh23
1 files changed, 14 insertions, 9 deletions
diff --git a/completion/notmuch-completion.zsh b/completion/notmuch-completion.zsh
index 89685620..208a5503 100644
--- a/completion/notmuch-completion.zsh
+++ b/completion/notmuch-completion.zsh
@@ -7,16 +7,21 @@ _notmuch_commands()
{
local -a notmuch_commands
notmuch_commands=(
- 'setup:interactively set up notmuch for first use'
- 'new:find and import any new message to the database'
- 'search:search for messages matching the search terms, display matching threads as results'
- 'address:get addresses from messages matching the given search terms'
- 'reply:constructs a reply template for a set of messages'
- 'show:show all messages matching the search terms'
- 'tag:add or remove tags for all messages matching the search terms'
+ 'help:display documentation for a subcommand'
+ 'setup:interactively configure notmuch'
+
+ 'address:output addresses from matching messages'
+ 'compact:compact the notmuch database'
+ 'config:access notmuch configuration file'
+ 'count:count messages matching the given search terms'
'dump:creates a plain-text dump of the tags of each message'
- 'restore:restores the tags from the given file'
- 'help:show details on a command'
+ 'insert:add a message to the maildir and notmuch database'
+ '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