mirror of https://github.com/Hilbis/Hilbish
fix: use hilbish.home for require paths
parent
805eefcd17
commit
e5a0f627b8
6
vars.go
6
vars.go
|
@ -6,9 +6,9 @@ var (
|
|||
requirePaths = `';./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'`
|
||||
.. hilbish.home .. '/.local/share/hilbish/libs/?/init.lua;'
|
||||
.. hilbish.home .. '/.local/share/hilbish/libs/?/?.lua;'
|
||||
.. hilbish.home .. '/.local/share/hilbish/libs/?.lua'`
|
||||
preloadPath = "/usr/share/hilbish/preload.lua"
|
||||
defaultConfDir = "" // ~ will be substituted for home, path for user's default config
|
||||
sampleConfPath = "/usr/share/hilbish/.hilbishrc.lua" // Path to default/sample config
|
||||
|
|
Loading…
Reference in New Issue