From 488bf6c9214ebcd668c88a944512540b1f67899a Mon Sep 17 00:00:00 2001 From: Jani Nikula Date: Sun, 2 Feb 2014 14:49:09 +0200 Subject: [PATCH] [PATCH] completion: bash completion for notmuch new --quiet option --- 39/2861a125522024b91d8e1ae47e8f4ac18b84f8 | 84 +++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 39/2861a125522024b91d8e1ae47e8f4ac18b84f8 diff --git a/39/2861a125522024b91d8e1ae47e8f4ac18b84f8 b/39/2861a125522024b91d8e1ae47e8f4ac18b84f8 new file mode 100644 index 000000000..51902ba50 --- /dev/null +++ b/39/2861a125522024b91d8e1ae47e8f4ac18b84f8 @@ -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 CFB22431FD5 + for ; Sun, 2 Feb 2014 04:49:19 -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 sN4SxQP5Z1mH for ; + Sun, 2 Feb 2014 04:49:14 -0800 (PST) +Received: from mail-ee0-f41.google.com (mail-ee0-f41.google.com + [74.125.83.41]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client + certificate requested) by olra.theworths.org (Postfix) with ESMTPS id + 2535A431FC0 for ; Sun, 2 Feb 2014 04:49:14 -0800 + (PST) +Received: by mail-ee0-f41.google.com with SMTP id e51so1117346eek.28 + for ; Sun, 02 Feb 2014 04:49:11 -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=mSb914I0onEXvVysN/mgm/Sx8cdDhomfmZVolZf8Z7c=; + b=lYEO9JTLiSyNmQQEEFD/rK6bQ3qzr5vOtyqYJF7xRRpKPeDob0CKjdO2WjqvkYlex0 + iVSpWPnl1w1xoXE55tw5sI9QDGLC3vlucz9MjGIN+wDQB0DYrcnmxSrnyl15ObwQ8Ebi + nab3Ai3uOGvMEJMNYU3y0zpqtZrdzbmxcY/OdGBcXN97K8uXXCVJXDscTlWoyHpAQAYr + MbKyzs4TNG11+DeNrJXueKBo1Kwi1ux6wHqoq8Y6BDx/lfLENzUbAmH30DD6OPfXJ4yn + k4cncfbiCx4uRR1T/jlGJg7ELFv8yxhGGOy6l5ZVBnn1WDadmy/Ej8dU5kRb75D6VTfh + Nq3g== +X-Gm-Message-State: + ALoCoQl/V6gCLeUQNPJmX0u8M4V8BiUkD+DfXEiXgCdymF8LA+ALOlkLFR7lZhvTAfqnyA6hKwLf +X-Received: by 10.14.203.197 with SMTP id f45mr1455007eeo.90.1391345351688; + Sun, 02 Feb 2014 04:49:11 -0800 (PST) +Received: from localhost (dsl-hkibrasgw2-58c36f-91.dhcp.inet.fi. + [88.195.111.91]) + by mx.google.com with ESMTPSA id 8sm56217588eef.1.2014.02.02.04.49.10 + for + (version=TLSv1.2 cipher=RC4-SHA bits=128/128); + Sun, 02 Feb 2014 04:49:11 -0800 (PST) +From: Jani Nikula +To: notmuch@notmuchmail.org +Subject: [PATCH] completion: bash completion for notmuch new --quiet option +Date: Sun, 2 Feb 2014 14:49:09 +0200 +Message-Id: <1391345349-7235-1-git-send-email-jani@nikula.org> +X-Mailer: git-send-email 1.8.5.2 +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: Sun, 02 Feb 2014 12:49:20 -0000 + +notmuch new now has --quiet option, complete it too. +--- + 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 04324bb..0f13204 100644 +--- a/completion/notmuch-completion.bash ++++ b/completion/notmuch-completion.bash +@@ -208,7 +208,7 @@ _notmuch_new() + + case "${cur}" in + -*) +- local options="--no-hooks" ++ local options="--no-hooks --quiet" + COMPREPLY=( $(compgen -W "${options}" -- ${cur}) ) + ;; + esac +-- +1.8.5.2 + -- 2.26.2