Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
How to disable completion for a builtin? (actually a reserved word) + an apparent bug
- X-seq: zsh-workers 44572
- From: Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: How to disable completion for a builtin? (actually a reserved word) + an apparent bug
- Date: Wed, 24 Jul 2019 16:18:41 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=0sioaAVfI3cqiSYBLHIrIdi0XouGoY3N8pBzIxAaLko=; b=aLvPJY2oZGcBrYKYYmQYRYIME5iEbo4r9tpuyhVTHX/MhySP3D5A2r+8uaWZhr+IbZ VHYu8Z1WO1S9kE9s5CYRB86Um4QrETP+a8RNK1fxW83fmAuERJEJgZaU+384+D8AxS5h AxlbDlkuWtmqWT8hAaKrO/HpROC+cYiQ/JNn2QjFg84DpybxZw9HHI90XivQ3byaxb9i mcq50pn1Wgm8vNz3iD07hAS69u+rVp7yOWfvW3Yp45eLTzmjIEIp2EUMK8NjwW2WW5sZ xvGAm3Yok6aXE8a/m1n0p6AC+4l2V5//IoKNvT7gwmvUOznYch/FQ5MyZQ64VB1X9xQg qyJg==
- 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
Hello,
I would like to disable the completion for the declare builtin. How to
accomplish this?
A side-note: disabling declare doesn't help. Also, it's actually
impossible to disable the command (it will still work), probably
because it's a reserved-word, not (only) a builtin. I wonder, couldn't
the disable effect be emulated in this case? Because from user's point
of view, declare is a typical builtin so disable should work, what is
also suggested by the disable command returning no errors.
--
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