fix: lua require paths

pull/38/head
sammy 2021-04-11 17:09:54 -04:00
parent c393080a2e
commit a9c5b4eea1
1 changed files with 1 additions and 1 deletions

2
lua.go
View File

@ -53,7 +53,7 @@ func LuaInit(confpath string) {
.. ';./libs/?/init.lua;./?/init.lua;./?/?.lua' .. ';./libs/?/init.lua;./?/init.lua;./?/?.lua'
.. ';/usr/share/hilbish/libs/?/init.lua;' .. ';/usr/share/hilbish/libs/?/init.lua;'
.. os.getenv 'HOME' .. '/.local/share/hilbish/libs/?/init.lua;' .. os.getenv 'HOME' .. '/.local/share/hilbish/libs/?/init.lua;'
.. os.getenv 'HOME' .. '/.local/share/hilbish/libs/?/?.lua' .. os.getenv 'HOME' .. '/.local/share/hilbish/libs/?.lua'
`) `)
err := l.DoFile("/usr/share/hilbish/preload.lua") err := l.DoFile("/usr/share/hilbish/preload.lua")