lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

On 5/15/23 05:42, Scott Morgan wrote:
On 5/15/23 02:22, Soni "They/Them" L. wrote:

Beyond that, just tweak the package.* items to suit your particular requirements.

No, since that is not using the convention of treating the contents of foo.lua.d/ as subfiles of foo.lua.

What convention? Who is using anything.lua.d?

Not anything.lua.d but /etc/profile.d/ and /etc/something.conf.d/ are fairly common.

Why can't you change the package.* items in Lua to solve this yourself? I'm pretty sure just changing package.path and package.cpath would do it.

It wouldn't be enough. A searcher would work, tho. But that's beside the point.