mirror of https://github.com/Hilbis/Hilbish
fix: add additional lua import path
parent
c43aab6a60
commit
6e3f1e1b97
1
lua.go
1
lua.go
|
@ -56,6 +56,7 @@ func LuaInit() {
|
|||
l.DoString(`package.path = package.path
|
||||
.. ';./libs/?/init.lua;./?/init.lua;./?/?.lua'
|
||||
.. ';/usr/share/hilbish/libs/?/init.lua;'
|
||||
.. ';/usr/share/hilbish/libs/?/?.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'
|
||||
|
|
Loading…
Reference in New Issue