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

Re: Building a new ZSH module outside the ZSH source tree



On May 24,  2:57pm, tetsujin@xxxxxxxxxxxxx wrote:
}
} nice programming interface for modules, but I'm not really clear on
} the process for building a module without tying it into the zsh build
} system.

I haven't actually tried the following yet.

--- Forwarded mail from Sebastian Gniazdowski <psprint2@xxxxxxxxxxxx>

X-Seq: 40477
From: Sebastian Gniazdowski <psprint2@xxxxxxxxxxxx>
To: zsh-workers@xxxxxxx
Subject: Modules can be built outside Zsh; custom version of autoload builtin
Date: Wed, 01 Feb 2017 09:48:51 -0800

Hello
1/ Turned out that it's easy to build Zsh modules away from complete
source. Here is a minimum build setup:

https://github.com/psprint/zplugin/tree/6a4ba014eb167cbc97353f0a59e63f62bd6442bc/zmodules

Tested this on OS X. I can load module built with Zsh 5.3.1 features
even on Apple-provided 5.0.8. It's only that lazy binding will fail, if
I call non-existent (in 5.0.8) function. So, plugin creators can
actually provide binary parts, what I'm intending to do too, in Zplugin.




Messages sorted by: Reverse Date, Date, Thread, Author