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



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