[PATCH] completion: bash completion for notmuch new --quiet option
authorJani Nikula <jani@nikula.org>
Sun, 2 Feb 2014 12:49:09 +0000 (14:49 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:59:32 +0000 (09:59 -0800)
39/2861a125522024b91d8e1ae47e8f4ac18b84f8 [new file with mode: 0644]

diff --git a/39/2861a125522024b91d8e1ae47e8f4ac18b84f8 b/39/2861a125522024b91d8e1ae47e8f4ac18b84f8
new file mode 100644 (file)
index 0000000..51902ba
--- /dev/null
@@ -0,0 +1,84 @@
+Return-Path: <jani@nikula.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id CFB22431FD5\r
+       for <notmuch@notmuchmail.org>; Sun,  2 Feb 2014 04:49:19 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.7\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id sN4SxQP5Z1mH for <notmuch@notmuchmail.org>;\r
+       Sun,  2 Feb 2014 04:49:14 -0800 (PST)\r
+Received: from mail-ee0-f41.google.com (mail-ee0-f41.google.com\r
+ [74.125.83.41])       (using TLSv1 with cipher RC4-SHA (128/128 bits))        (No client\r
+ certificate requested)        by olra.theworths.org (Postfix) with ESMTPS id\r
+ 2535A431FC0   for <notmuch@notmuchmail.org>; Sun,  2 Feb 2014 04:49:14 -0800\r
+ (PST)\r
+Received: by mail-ee0-f41.google.com with SMTP id e51so1117346eek.28\r
+       for <notmuch@notmuchmail.org>; Sun, 02 Feb 2014 04:49:11 -0800 (PST)\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+       d=1e100.net; s=20130820;\r
+       h=x-gm-message-state:from:to:cc:subject:date:message-id;\r
+       bh=mSb914I0onEXvVysN/mgm/Sx8cdDhomfmZVolZf8Z7c=;\r
+       b=lYEO9JTLiSyNmQQEEFD/rK6bQ3qzr5vOtyqYJF7xRRpKPeDob0CKjdO2WjqvkYlex0\r
+       iVSpWPnl1w1xoXE55tw5sI9QDGLC3vlucz9MjGIN+wDQB0DYrcnmxSrnyl15ObwQ8Ebi\r
+       nab3Ai3uOGvMEJMNYU3y0zpqtZrdzbmxcY/OdGBcXN97K8uXXCVJXDscTlWoyHpAQAYr\r
+       MbKyzs4TNG11+DeNrJXueKBo1Kwi1ux6wHqoq8Y6BDx/lfLENzUbAmH30DD6OPfXJ4yn\r
+       k4cncfbiCx4uRR1T/jlGJg7ELFv8yxhGGOy6l5ZVBnn1WDadmy/Ej8dU5kRb75D6VTfh\r
+       Nq3g==\r
+X-Gm-Message-State:\r
+ ALoCoQl/V6gCLeUQNPJmX0u8M4V8BiUkD+DfXEiXgCdymF8LA+ALOlkLFR7lZhvTAfqnyA6hKwLf\r
+X-Received: by 10.14.203.197 with SMTP id f45mr1455007eeo.90.1391345351688;\r
+       Sun, 02 Feb 2014 04:49:11 -0800 (PST)\r
+Received: from localhost (dsl-hkibrasgw2-58c36f-91.dhcp.inet.fi.\r
+       [88.195.111.91])\r
+       by mx.google.com with ESMTPSA id 8sm56217588eef.1.2014.02.02.04.49.10\r
+       for <multiple recipients>\r
+       (version=TLSv1.2 cipher=RC4-SHA bits=128/128);\r
+       Sun, 02 Feb 2014 04:49:11 -0800 (PST)\r
+From: Jani Nikula <jani@nikula.org>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH] completion: bash completion for notmuch new --quiet option\r
+Date: Sun,  2 Feb 2014 14:49:09 +0200\r
+Message-Id: <1391345349-7235-1-git-send-email-jani@nikula.org>\r
+X-Mailer: git-send-email 1.8.5.2\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sun, 02 Feb 2014 12:49:20 -0000\r
+\r
+notmuch new now has --quiet option, complete it too.\r
+---\r
+ completion/notmuch-completion.bash | 2 +-\r
+ 1 file changed, 1 insertion(+), 1 deletion(-)\r
+\r
+diff --git a/completion/notmuch-completion.bash b/completion/notmuch-completion.bash\r
+index 04324bb..0f13204 100644\r
+--- a/completion/notmuch-completion.bash\r
++++ b/completion/notmuch-completion.bash\r
+@@ -208,7 +208,7 @@ _notmuch_new()\r
\r
+     case "${cur}" in\r
+       -*)\r
+-          local options="--no-hooks"\r
++          local options="--no-hooks --quiet"\r
+           COMPREPLY=( $(compgen -W "${options}" -- ${cur}) )\r
+           ;;\r
+     esac\r
+-- \r
+1.8.5.2\r
+\r