zsh-workers
 help / color / mirror / code / Atom feed
* Parse error on autoload -X and a function with & in name
@ 2019-07-08 19:35 Sebastian Gniazdowski
  2019-07-08 19:40 ` Roman Perepelitsa
  2019-07-08 20:02 ` Sebastian Gniazdowski
  0 siblings, 2 replies; 6+ messages in thread
From: Sebastian Gniazdowski @ 2019-07-08 19:35 UTC (permalink / raw)
  To: Zsh hackers list

Hello,

function \&abcd() {
    autoload -X
}
\&abcd

gives:
(eval):1: parse error near `&'

I wanted to use the symbol as a namespacer for internal functions.
-- 
Sebastian Gniazdowski
News: https://twitter.com/ZdharmaI
IRC: https://kiwiirc.com/client/chat.freenode.net:+6697/#zplugin
Blog: http://zdharma.org

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-07-08 23:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-08 19:35 Parse error on autoload -X and a function with & in name Sebastian Gniazdowski
2019-07-08 19:40 ` Roman Perepelitsa
2019-07-08 19:42   ` Sebastian Gniazdowski
2019-07-08 20:02 ` Sebastian Gniazdowski
2019-07-08 22:12   ` Bart Schaefer
2019-07-08 23:51     ` Sebastian Gniazdowski

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).