From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from primenet.com.au (ns1.primenet.com.au [203.24.36.2]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id f1d97994 for ; Wed, 24 Jul 2019 15:40:47 +0000 (UTC) Received: (qmail 24283 invoked by alias); 24 Jul 2019 15:40:40 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: List-Unsubscribe: X-Seq: 44577 Received: (qmail 15624 invoked by uid 1010); 24 Jul 2019 15:40:40 -0000 X-Qmail-Scanner-Diagnostics: from mail-vs1-f47.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.101.2/25517. spamassassin: 3.4.2. Clear:RC:0(209.85.217.47):SA:0(-2.0/5.0):. Processed in 2.305832 secs); 24 Jul 2019 15:40:40 -0000 X-Envelope-From: sgniazdowski@gmail.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.217.47 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=EagB+PCbyl2U5NEgfnxkXV5p6/tO1MP90zp8de/On08=; b=t6vc0Ff/wmtUTsPtFzkftNlhnVwSukdbTN7DsaGut+zFdgpsBbuXfQ3an20ESVFl0v VIsJXXNvrdlpUxvLtRhny63lRX8JHxh456uxylQ43XoWDDc+qwGsMCsQgYuSdIBRQZCM 5PrBx7avqcQaMZQZzymKpCooggDC9ikPTWeatG12X7v2N5VoVHjUrzVYMqq+G3Tx+oVo /27168Oqk9MqVJvQYeGoiyXxcqEOGNlF8w54alQxIR6sv2r8JR/6FXGiPtP/F8ZEKqr3 szEnoG9oXoIXUq3woELOOe2b5tlCfmJmkznmQIT3Njpyik4IJYTDvusJW4EGfS0Jr0Tl ceQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=EagB+PCbyl2U5NEgfnxkXV5p6/tO1MP90zp8de/On08=; b=GPkX+sjcL9DsrpKfdOkPCjZEtDLvRjuGBFoxY8YQx980/RaY52uq9DS2xfO0WeE00P +UnZfxJ/6kqt9pWDNx8pLZ0bPaMrElVN6EiBDhy96vJh1qX6PquCZmjdYQePvYvkeLp6 oD9D0JFq0pj/ZCuPmQvNoMA57noVHFDhaIeXqdZMLYbyi8G7VAilnLzKKIotbvsrUhK2 0I5qAEsrOyPrP3TWlAGlGFz8Va8Uab2Q+997+/cL/sSJn4Pkoq/WburIDsovZX3BzE+t DDHOgYrh2Sh7yExJMO/J9CQZDDpM1rSQrZNZ8u6dbQjnttqOx+pQX/yUg4Mkg7870B3j u5Eg== X-Gm-Message-State: APjAAAUr8gLUaka7xMcatchFxB9ffEZ2a4DO4BnGE1NLF3SzZBoapunK jj2d6xdJLLXeM5Kko1YYwddU7BqhgodvrHfk/JM/uXBc X-Google-Smtp-Source: APXvYqyU8nTYXv9T1VScFEIAhYeOZNhbeDZAqFVmQj/19XCA+MIC6V8aIT4oNgGaAFFv94nd/r75a3S77thHQLC10CU= X-Received: by 2002:a67:80c8:: with SMTP id b191mr53650261vsd.113.1563982804672; Wed, 24 Jul 2019 08:40:04 -0700 (PDT) MIME-Version: 1.0 References: <1563978475.5930.14.camel@samsung.com> <1563981336.5930.16.camel@samsung.com> In-Reply-To: <1563981336.5930.16.camel@samsung.com> From: Sebastian Gniazdowski Date: Wed, 24 Jul 2019 17:39:52 +0200 Message-ID: Subject: Re: How to disable completion for a builtin? (actually a reserved word) + an apparent bug To: Peter Stephenson Cc: Zsh hackers list Content-Type: multipart/alternative; boundary="00000000000081ec37058e6f1f65" --00000000000081ec37058e6f1f65 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable =C5=9Br., 24 lip 2019, 17:15 u=C5=BCytkownik Peter Stephenson < p.stephenson@samsung.com> napisa=C5=82: > On Wed, 2019-07-24 at 17:02 +0200, Sebastian Gniazdowski wrote: > > On Wed, 24 Jul 2019 at 16:28, Peter Stephenson > wrote: > > > > > > > > > On Wed, 2019-07-24 at 16:18 +0200, Sebastian Gniazdowski wrote: > > > > accomplish this? > > > unset '_comps[declare]' > > Actually that's not what I've meant. I've should have put this more > > clearly: how to prevent command `declare' from being completed? Like > > if chmod -x /usr/bin/declare? > > Either you have a special completion, or it does default completion. > If you don't want default completion, you need a compdef for a do-nothing > completion function. > > pws > I don't want to change disable's completion. What I want is that: % decl will not try to complete "declare". --00000000000081ec37058e6f1f65--