Compare commits

..

No commits in common. "3c4351a8fe25de0683bc6c3b6216071ea027aac9" and "1868715b8a7f302474c31d0c3fa5690f3734784d" have entirely different histories.

1 changed files with 2 additions and 4 deletions

6
lua.go
View File

@ -50,10 +50,8 @@ func LuaInit(confpath string) {
// Add more paths that Lua can require from
l.DoString(`package.path = package.path
.. ';./libs/?/init.lua;./?/init.lua;./?/?.lua'
.. ';/usr/share/hilbish/libs/?/init.lua;'
.. os.getenv 'HOME' .. '/.local/share/hilbish/libs/?/init.lua;'
.. os.getenv 'HOME' .. '/.local/share/hilbish/libs/?/?.lua'
.. ';./libs/?/init.lua;/usr/share/hilbish/libs/?/init.lua'
.. ';./?/init.lua;./?/?.lua'
`)
err := l.DoFile("/usr/share/hilbish/preload.lua")