mirror of
https://github.com/MezzalunaWM/Mezzaluna.git
synced 2026-03-08 04:57:32 -04:00
add a basic filesystem library and use it for path concat
This commit is contained in:
parent
9e55195f8d
commit
8e4f56d147
3 changed files with 52 additions and 3 deletions
|
|
@ -4,8 +4,8 @@ if not env_conf then
|
|||
if not env_conf then
|
||||
error("Couldn't determine potential config directory is $HOME set?")
|
||||
end
|
||||
env_conf = env_conf.."/.config/"
|
||||
env_conf = mez.fs.joinpath(env_conf, ".config")
|
||||
end
|
||||
|
||||
mez.path.config = env_conf.."/mez/init.lua"
|
||||
package.path = package.path..";"..env_conf.."/mez/lua/?.lua"
|
||||
mez.path.config = mez.fs.joinpath(env_conf, "mez", "init.lua")
|
||||
package.path = package.path..";"..mez.fs.joinpath(env_conf, "mez", "lua", "?.lua")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue