Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: How to disable completion for a builtin? (actually a reserved word) + an apparent bug
- X-seq: zsh-workers 44575
- From: Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx>
- To: Peter Stephenson <p.stephenson@xxxxxxxxxxx>
- Subject: Re: How to disable completion for a builtin? (actually a reserved word) + an apparent bug
- Date: Wed, 24 Jul 2019 17:02:30 +0200
- Cc: Zsh hackers list <zsh-workers@xxxxxxx>
- 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=dAfk/+g/Ei+g3xmzzikgv6Tj30jRl+fyEPd4DdyFybE=; b=QF7E4CMa6WVnlOYAfE7smzg1fwj+AanNWzy95vGagcY69e67qYm2A1SQJ2VCXWzmdG 9HgY3E9qZCuxTFCDgnd3LCl57782nc9GKbA2AYOSArtvZwuZW1Nqocjfa8MxUK0z/EbM l+KwdyoN8LGDFrELXSLkZilohzxBkj5tkDpweb7QsoDqv+aJP/HEELHdOHN1VDWs8ZkT OlCzOh0VuYEIHZNyEB8a046DTJtBkg9DzPKrUs5FxzL50Rf88/Tqgu17gMDmy3YkyzHn WqqsFZKHD4G5YT0p92MMSoIDpGzpL1z/Kj5501HKnVLPtI6e1p7WkRxsHVxdO6PQtCGd SE+w==
- In-reply-to: <1563978475.5930.14.camel@samsung.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CGME20190724141945epcas1p30d69e2d7ba1ce29f994ff486284d4553@epcas1p3.samsung.com> <CAKc7PVCfdhuam4WPxhO2TWkpRpyHdwoCTXH=Eshdb=pGRO0TxA@mail.gmail.com> <1563978475.5930.14.camel@samsung.com>
On Wed, 24 Jul 2019 at 16:28, Peter Stephenson <p.stephenson@xxxxxxxxxxx> wrote:
>
> On Wed, 2019-07-24 at 16:18 +0200, Sebastian Gniazdowski wrote:
> > Hello,
> > I would like to disable the completion for the declare builtin. How to
> > 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?
--
Sebastian Gniazdowski
News: https://twitter.com/ZdharmaI
IRC: https://kiwiirc.com/client/chat.freenode.net:+6697/#zplugin
Blog: http://zdharma.org
Messages sorted by:
Reverse Date,
Date,
Thread,
Author