Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id A53F3431E64 for ; Sat, 10 Jan 2015 02:23:15 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 2.438 X-Spam-Level: ** X-Spam-Status: No, score=2.438 tagged_above=-999 required=5 tests=[DNS_FROM_AHBL_RHSBL=2.438] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lGjjFOzl7SYT for ; Sat, 10 Jan 2015 02:23:12 -0800 (PST) Received: from yantan.tethera.net (yantan.tethera.net [199.188.72.155]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 793E9431E62 for ; Sat, 10 Jan 2015 02:23:12 -0800 (PST) Received: from remotemail by yantan.tethera.net with local (Exim 4.80) (envelope-from ) id 1Y9tCK-00034G-3s; Sat, 10 Jan 2015 06:23:12 -0400 Received: (nullmailer pid 26882 invoked by uid 1000); Sat, 10 Jan 2015 10:23:06 -0000 From: David Bremner To: notmuch@notmuchmail.org Subject: [PATCH] completion: update list of commands in zsh completion. Date: Sat, 10 Jan 2015 11:23:03 +0100 Message-Id: <1420885383-26840-1-git-send-email-david@tethera.net> X-Mailer: git-send-email 2.1.4 X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jan 2015 10:23:15 -0000 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. --- completion/notmuch-completion.zsh | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/completion/notmuch-completion.zsh b/completion/notmuch-completion.zsh index 8968562..208a550 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 -- 2.1.4