From: Jani Nikula Date: Mon, 10 Nov 2014 19:35:42 +0000 (+0200) Subject: [PATCH 1/2] completion: complete notmuch insert --keep and --no-hooks options X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7408acd6e386decaec872aba27a9077f6e8d7afd;p=notmuch-archives.git [PATCH 1/2] completion: complete notmuch insert --keep and --no-hooks options --- diff --git a/f3/3c863da41ca38203da3c3fa4bbf5aac0c8ad8c b/f3/3c863da41ca38203da3c3fa4bbf5aac0c8ad8c new file mode 100644 index 000000000..55f57014d --- /dev/null +++ b/f3/3c863da41ca38203da3c3fa4bbf5aac0c8ad8c @@ -0,0 +1,84 @@ +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 709A7431FC0 + for ; Mon, 10 Nov 2014 11:35:55 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.7 +X-Spam-Level: +X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 + tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 UUFcMhiRf+wz for ; + Mon, 10 Nov 2014 11:35:50 -0800 (PST) +Received: from mail-wg0-f45.google.com (mail-wg0-f45.google.com + [74.125.82.45]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client + certificate requested) by olra.theworths.org (Postfix) with ESMTPS id + BB130431FB6 for ; Mon, 10 Nov 2014 11:35:49 -0800 + (PST) +Received: by mail-wg0-f45.google.com with SMTP id x12so9800004wgg.4 + for ; Mon, 10 Nov 2014 11:35:48 -0800 (PST) +X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=1e100.net; s=20130820; + h=x-gm-message-state:from:to:cc:subject:date:message-id; + bh=CU5bJV/Z+uI7il3BQIfkkRbr6CO3Cuvm3bBnMEm8wdw=; + b=iFsKROqRAwn03GWQ7YD1fqeIaAt8Uf5HFfZj7dVV24ROsgVjhhIIUCbx5Ef1TO5t4E + wh/DWDU4X9wg+ra2bPKO4gqwRE1DILbjv23ql8t+7OlrmEry3DO9uJ16rNHIo2QxQNuA + DPPG+Oezj0QvivGKz9NoHH1nXUSE0mRPz2bTIBNiG+y/n8AHLv6uu/nNsCuArk/WH1dn + uR4oUvMMF46m1xlHTbVxmBFdg3q8LQmQd4ouHujhtej8ByHpNIK+tW8l3sIFAwNwvcOz + F469hLRk/e4GmDoMnvlac6HyzjfKe8+vMktXpKmPjuo6hQJjSajV12oebg9rhdBSo51y + APbQ== +X-Gm-Message-State: + ALoCoQklep5ukpCYgXIU8tRY1Ih+/wgAspybeZvzgBFrKT5jhbFpSvbPpAFbjOSzxcQqCG9CRh8C +X-Received: by 10.194.241.194 with SMTP id wk2mr7311094wjc.132.1415648148138; + Mon, 10 Nov 2014 11:35:48 -0800 (PST) +Received: from localhost (dsl-hkibrasgw2-58c36d-48.dhcp.inet.fi. + [88.195.109.48]) + by mx.google.com with ESMTPSA id s8sm24381056wjx.9.2014.11.10.11.35.46 + for + (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); + Mon, 10 Nov 2014 11:35:47 -0800 (PST) +From: Jani Nikula +To: notmuch@notmuchmail.org +Subject: [PATCH 1/2] completion: complete notmuch insert --keep and --no-hooks + options +Date: Mon, 10 Nov 2014 21:35:42 +0200 +Message-Id: <1415648143-19923-1-git-send-email-jani@nikula.org> +X-Mailer: git-send-email 2.1.1 +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: Mon, 10 Nov 2014 19:35:55 -0000 + +--- + completion/notmuch-completion.bash | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/completion/notmuch-completion.bash b/completion/notmuch-completion.bash +index db152f358bc3..386437333742 100644 +--- a/completion/notmuch-completion.bash ++++ b/completion/notmuch-completion.bash +@@ -196,7 +196,7 @@ _notmuch_insert() + ! $split && + case "${cur}" in + --*) +- local options="--create-folder --folder=" ++ local options="--create-folder --folder= --keep --no-hooks" + compopt -o nospace + COMPREPLY=( $(compgen -W "$options" -- ${cur}) ) + return +-- +2.1.1 +