Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Parse error on autoload -X and a function with & in name



Yes, but I need the function as an autoload function in a separate
file, and I'm loading it with Zplugin, which is constructing a manual
autoload -X stub.

If anyone has some idea for a good symbol, please share. I'm already
using @ for "api calls". Would now need a symbol for "handlers".

On Mon, 8 Jul 2019 at 21:40, Roman Perepelitsa
<roman.perepelitsa@xxxxxxxxx> wrote:
>
> This works:
>
>     function '&f'() { echo f }
>     '&f'
>
> Roman.



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