From cfb98ef868163b8690bbae4b9f9ab8f848319fe6 Mon Sep 17 00:00:00 2001 From: Jani Nikula Date: Sun, 18 Oct 2015 00:03:35 +0300 Subject: [PATCH] [PATCH] completion: complete lastmod: search prefix --- ff/971533651953a3635fe55444df8032621330da | 85 +++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 ff/971533651953a3635fe55444df8032621330da diff --git a/ff/971533651953a3635fe55444df8032621330da b/ff/971533651953a3635fe55444df8032621330da new file mode 100644 index 000000000..761817f22 --- /dev/null +++ b/ff/971533651953a3635fe55444df8032621330da @@ -0,0 +1,85 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id 3D1296DE02DD + for ; Sat, 17 Oct 2015 14:04:08 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -0.547 +X-Spam-Level: +X-Spam-Status: No, score=-0.547 tagged_above=-999 required=5 tests=[AWL=0.173, + RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] + autolearn=disabled +Received: from arlo.cworth.org ([127.0.0.1]) + by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id tO_TYNnnYX4j for ; + Sat, 17 Oct 2015 14:04:06 -0700 (PDT) +Received: from mail-wi0-f177.google.com (mail-wi0-f177.google.com + [209.85.212.177]) + by arlo.cworth.org (Postfix) with ESMTPS id 5AB7A6DE025F + for ; Sat, 17 Oct 2015 14:04:06 -0700 (PDT) +Received: by wikq8 with SMTP id q8so4049342wik.1 + for ; Sat, 17 Oct 2015 14:04:04 -0700 (PDT) +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:in-reply-to + :references; + bh=ecIzlcstZBxNViVOXI6J+iQzThCdb5FIhfHzHmJkzus=; + b=XWbGH64wfK8RsAnLP92rnyik6sLsPtHf1/2lwUfR4jja4eoajNSA2yRJPXcyvpHNSI + t7I6cKIOlxhxTen9ggRtfRi4f0iwLr2h6Y7R1nkOPIUh0yM/Xz/nD/ikKOO2TPE+mI2M + BCnw6jxG6VtKwPSDjBb/N638y+zyfFrTjyOIYrLiITfecZSZ/I6rw8o9xX9G/kyd5Gur + /9rqsLeBEKEPBknlMR5oTZigUWj8QtGmVmjB20kVTc97iHi2bqGJreNakSM9I9hfe2a1 + C/NU2wyfjjYwBEpgWB/eJepKqFoancuBKlqgq7qo6Dxv28DwXb+RsCYnsfL7tGBHcU94 + dVXg== +X-Gm-Message-State: + ALoCoQmr0qYyuIS/m/644JlxzxoEEqQnwsLCYzN7eHyEvVOqk+CIkklOzUZjfVQTVY6VpyCTkwgb +X-Received: by 10.194.209.240 with SMTP id + mp16mr25185026wjc.100.1445115844780; Sat, 17 Oct 2015 14:04:04 -0700 (PDT) +Received: from localhost (mobile-access-bcee43-111.dhcp.inet.fi. + [188.238.67.111]) + by smtp.gmail.com with ESMTPSA id pb4sm30333100wjb.8.2015.10.17.14.04.03 + (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); + Sat, 17 Oct 2015 14:04:04 -0700 (PDT) +From: Jani Nikula +To: notmuch@notmuchmail.org +Subject: [PATCH] completion: complete lastmod: search prefix +Date: Sun, 18 Oct 2015 00:03:35 +0300 +Message-Id: <1445115815-28261-1-git-send-email-jani@nikula.org> +X-Mailer: git-send-email 2.1.4 +In-Reply-To: <1445099403-25998-3-git-send-email-jani@nikula.org> +References: <1445099403-25998-3-git-send-email-jani@nikula.org> +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.18 +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, 17 Oct 2015 21:04:08 -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 f24d9ecd337f..cc5839247c6c 100644 +--- a/completion/notmuch-completion.bash ++++ b/completion/notmuch-completion.bash +@@ -86,7 +86,7 @@ _notmuch_search_terms() + sed "s|^$path/||" | grep -v "\(^\|/\)\(cur\|new\|tmp\)$" ) ) + ;; + *) +- local search_terms="from: to: subject: attachment: mimetype: tag: id: thread: folder: path: date:" ++ local search_terms="from: to: subject: attachment: mimetype: tag: id: thread: folder: path: date: lastmod:" + compopt -o nospace + COMPREPLY=( $(compgen -W "${search_terms}" -- ${cur}) ) + ;; +-- +2.1.4 + -- 2.26.2