
▲ 4 r/lua
no os.setenv and I wanted a vim.env polyfill. Made one.
https://github.com/BirdeeHub/lua-osenv feel free to use it too if you want.
It is 1 C file <250 lines, with a nice interface, use the makefile, luarocks, nix, or write the c compiler command to build.
u/no_brains101 — 1 day ago