mirror of https://github.com/Hilbis/Hilbish
fix: lua require paths
parent
c393080a2e
commit
a9c5b4eea1
2
lua.go
2
lua.go
|
@ -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")
|
||||||
|
|
Loading…
Reference in New Issue