fix: lua require paths

pull/38/head
sammy 2021-04-11 17:44:34 -04:00
parent a9c5b4eea1
commit 21e6ff8055
1 changed files with 1 additions and 0 deletions

1
lua.go
View File

@ -53,6 +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' .. os.getenv 'HOME' .. '/.local/share/hilbish/libs/?.lua'
`) `)