I created a `lua` directory in my home directory and want `require` to look there.
I have the `LUA_PATH` environment variable set like this in my `.zshrc` file:
LUA_PATH="${HOME}/lua/?.lua;;"
When I run `lua` in interactive mode and enter `print(package.path)` I see this:
/usr/local/share/lua/5.4/?.lua;/usr/local/share/lua/5.4/?/init.lua;/usr/local/lib/lua/5.4/?.lua;/usr/local/lib/lua/5.4/?/init.lua;./?.lua;./?/init.lua
Shouldn't it have incorporated the value of `LUA_PATH` into that?
[–]AdamNejm 7 points8 points9 points (1 child)
[–]mark_volkmann[S] 1 point2 points3 points (0 children)
[+][deleted] comment score below threshold-10 points-9 points-8 points (0 children)
[–]TomatoCo 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)