From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id iHxWDnr57F6AQwAA0tVLHw (envelope-from ) for ; Fri, 19 Jun 2020 17:44:26 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id YCA5Cnr57F4uTQAA1q6Kng (envelope-from ) for ; Fri, 19 Jun 2020 17:44:26 +0000 Received: from arlo.cworth.org (arlo.cworth.org [50.126.95.6]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id ACEAB940222 for ; Fri, 19 Jun 2020 17:44:21 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id DA7B06DE1081; Fri, 19 Jun 2020 10:44:17 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org 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 CTcrDYC5bQ0n; Fri, 19 Jun 2020 10:44:17 -0700 (PDT) Received: from arlo.cworth.org (localhost [IPv6:::1]) by arlo.cworth.org (Postfix) with ESMTP id 06E926DE0FBC; Fri, 19 Jun 2020 10:44:16 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id CB5816DE0F9A for ; Fri, 19 Jun 2020 03:47:56 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org 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 a2xgepoeVgTc for ; Fri, 19 Jun 2020 03:47:55 -0700 (PDT) X-Greylist: delayed 417 seconds by postgrey-1.36 at arlo; Fri, 19 Jun 2020 03:47:55 PDT Received: from mailout2.w1.samsung.com (mailout2.w1.samsung.com [210.118.77.12]) by arlo.cworth.org (Postfix) with ESMTPS id 032F26DE0F98 for ; Fri, 19 Jun 2020 03:47:54 -0700 (PDT) Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20200619104052euoutp0284235258ffd266a1f348b27a4d14dbd6~Z69cgVGTG2414224142euoutp02i for ; Fri, 19 Jun 2020 10:40:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20200619104052euoutp0284235258ffd266a1f348b27a4d14dbd6~Z69cgVGTG2414224142euoutp02i DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1592563252; bh=yx4GSo8pWUWQv0TKDWjZwBVodAivo5usHgGe1mF/x9k=; h=From:To:Cc:Subject:Date:References:From; b=sum1QbKEK/l6sGEC5tAvGhwaPNRQ6+O6isqjoTcloKDCz7dLKpGGFnlcCWDYB9/QP vLUia44qw5o//mMV8odzsvu+erVuNC5prSkPhR0U9rxa7TqxAjW1tJmNiNeklL+1Is 6yaE3xzdQmcrs10xJCEglqZaRo7YZN7nJtgsm07U= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20200619104052eucas1p2b2562d5b93643e9b991749b425fe6ab7~Z69cKiFDo0337203372eucas1p2X; Fri, 19 Jun 2020 10:40:52 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 8D.0E.05997.3369CEE5; Fri, 19 Jun 2020 11:40:52 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20200619104051eucas1p1d5d63105518817bc80b55cfc9158ce2f~Z69b6nGrH0846508465eucas1p1l; Fri, 19 Jun 2020 10:40:51 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20200619104051eusmtrp271f65c3b879e0e3f1a9fc74e38e7ebb8~Z69b6IDX71574315743eusmtrp2C; Fri, 19 Jun 2020 10:40:51 +0000 (GMT) X-AuditID: cbfec7f4-677ff7000000176d-6a-5eec9633c34e Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 1B.8B.06017.3369CEE5; Fri, 19 Jun 2020 11:40:51 +0100 (BST) Received: from localhost (unknown [106.120.51.46]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20200619104051eusmtip2c8894e80df18fe22826dc12773012956~Z69bslNV30366903669eusmtip2r; Fri, 19 Jun 2020 10:40:51 +0000 (GMT) From: =?UTF-8?q?=C5=81ukasz=20Stelmach?= To: notmuch@notmuchmail.org Subject: [PATCH] completion: remove "setup" from the list of possible completions Date: Fri, 19 Jun 2020 12:40:49 +0200 Message-Id: <20200619104049.8028-1-l.stelmach@samsung.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Organization: Samsung R&D Institute Poland X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrPIsWRmVeSWpSXmKPExsWy7djPc7om097EGVxqZrS4eWgFo8X1mzOZ HZg8nq26xezRt2UVYwBTFJdNSmpOZllqkb5dAlfGr86ZbAUbuCs6Xvg3MK7m7GLk5JAQMJHY 8PIXcxcjF4eQwApGib/rtrOAJIQEvjBK7F5XBWF/ZpRY/0MVpqG7eyM7RHw5o0RvtxBE83NG iZ83nzODJNgEHCX6l55gBbFFBKQldt6dDWYzC9hLTJz1n62LkYNDWCBYYsYTNpAwi4CqxOH2 MywgYV4BK4n1q20gVslLtC/fDlbCKyAocXLmE7DT+AW0JNY0XWeBmCgv0bx1NjNIq4TACTaJ eVYQrS4SWxuWsEDYwhKvjm9hh7BlJP7vnM8EUV4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zW1ILUIpo+J g1OqgVEp6VSlp2Um9w/hd60bV39iyN6+9nTW9s9eWzKdBMTOfm3fub5xq8O56R2BSc+suKbk Bk3P9lrHO786+5rNzgDto3bTL625NLODs611a4fZWjOFGbWqknb73IwC0j+uEFWxrFg7TVln lkKXW5xQ7V4PtwfGtXN+RaqIznUw2fpWy+za9q/9jUosxRmJhlrMRcWJAAYX0oBpAgAA X-CMS-MailID: 20200619104051eucas1p1d5d63105518817bc80b55cfc9158ce2f X-Msg-Generator: CA X-RootMTR: 20200619104051eucas1p1d5d63105518817bc80b55cfc9158ce2f X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20200619104051eucas1p1d5d63105518817bc80b55cfc9158ce2f References: X-Mailman-Approved-At: Fri, 19 Jun 2020 10:44:13 -0700 X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?UTF-8?q?=C5=81ukasz=20Stelmach?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: notmuch-bounces@notmuchmail.org Sender: "notmuch" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (body hash did not verify) header.d=samsung.com header.s=mail20170921 header.b=sum1QbKE; dmarc=fail reason="SPF not aligned (relaxed)" header.from=samsung.com (policy=none); spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 50.126.95.6 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Spam-Score: 1.09 X-TUID: kEYe990+p82n Having "setup" in the set requires entering three instad of two characters for "search". Since "setup" is rearly used it makes little sense to have it in the set and cripple UX for much more frequently used "search". --- completion/notmuch-completion.bash | 2 +- completion/zsh/_notmuch | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/completion/notmuch-completion.bash b/completion/notmuch-completion.bash index 15425697..c3654a73 100644 --- a/completion/notmuch-completion.bash +++ b/completion/notmuch-completion.bash @@ -579,7 +579,7 @@ _notmuch_tag() _notmuch() { - local _notmuch_commands="compact config count dump help insert new reply restore reindex search address setup show tag emacs-mua" + local _notmuch_commands="compact config count dump help insert new reply restore reindex search address show tag emacs-mua" local arg cur prev words cword split # require bash-completion with _init_completion diff --git a/completion/zsh/_notmuch b/completion/zsh/_notmuch index e920f10b..6c0344cc 100644 --- a/completion/zsh/_notmuch +++ b/completion/zsh/_notmuch @@ -7,7 +7,6 @@ _notmuch_command() { local -a notmuch_commands notmuch_commands=( 'help:display documentation for a subcommand' - 'setup:interactively configure notmuch' 'address:output addresses from matching messages' 'compact:compact the notmuch database' -- 2.26.2