From: Sebastian Gniazdowski <sgniazdowski@gmail.com>
To: Peter Stephenson <p.stephenson@samsung.com>
Cc: Zsh hackers list <zsh-workers@zsh.org>
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 [thread overview]
Message-ID: <CAKc7PVAcW8BhwGQaXYWSW-tkMx6b7LLQsJ35pjq9567NY+C=9w@mail.gmail.com> (raw)
In-Reply-To: <1563978475.5930.14.camel@samsung.com>
On Wed, 24 Jul 2019 at 16:28, Peter Stephenson <p.stephenson@samsung.com> 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
next prev parent reply other threads:[~2019-07-24 15:03 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20190724141945epcas1p30d69e2d7ba1ce29f994ff486284d4553@epcas1p3.samsung.com>
2019-07-24 14:18 ` Sebastian Gniazdowski
2019-07-24 14:27 ` Peter Stephenson
2019-07-24 14:56 ` Sebastian Gniazdowski
2019-07-24 15:02 ` Sebastian Gniazdowski [this message]
2019-07-24 15:15 ` Peter Stephenson
2019-07-24 15:39 ` Sebastian Gniazdowski
2019-07-24 15:48 ` Peter Stephenson
2019-07-24 15:59 ` Sebastian Gniazdowski
2019-07-24 19:50 ` Eric Cook
2019-07-25 8:58 ` Sebastian Gniazdowski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAKc7PVAcW8BhwGQaXYWSW-tkMx6b7LLQsJ35pjq9567NY+C=9w@mail.gmail.com' \
--to=sgniazdowski@gmail.com \
--cc=p.stephenson@samsung.com \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).