mirror of https://github.com/Hilbis/Hilbish
Compare commits
No commits in common. "3c4351a8fe25de0683bc6c3b6216071ea027aac9" and "1868715b8a7f302474c31d0c3fa5690f3734784d" have entirely different histories.
3c4351a8fe
...
1868715b8a
6
lua.go
6
lua.go
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue