Hi Ulrich,
I see 2 solutions without the need, YOU change anything:
1. is there a config/lua file, where i can append something to the lib search path?(sure, i need to be careful because different lua interpreters)
2. is there a config/lua file, where i can (pre)load librarys BEFORE zbs changes his project directory?
Yes, both options are available: go to Edit | Preferences | Settings:
System (or Settings: User) and add:
local G = ...
G.package.cpath = G.package.cpath..';'..G.ide.osclibs
require 'lpeg' --<-- if you want to load it right away, but it should
also work from the console.
Paul.