mirror of
https://github.com/Hilbis/Hilbish
synced 2025-04-01 11:13:24 +00:00
fix: remove / at the end of xdg data path
This commit is contained in:
parent
9f523ba3c0
commit
87fcdd3c10
@ -39,7 +39,7 @@ func HilbishLoader(L *lua.LState) int {
|
||||
|
||||
xdg := L.NewTable()
|
||||
L.SetField(xdg, "config", lua.LString(confDir))
|
||||
L.SetField(xdg, "data", lua.LString(getenv("XDG_DATA_HOME", homedir + "/.local/share/")))
|
||||
L.SetField(xdg, "data", lua.LString(getenv("XDG_DATA_HOME", homedir + "/.local/share")))
|
||||
L.SetField(mod, "xdg", xdg)
|
||||
|
||||
util.Document(L, mod, "A miscellaneous sort of \"core\" API for things that relate to the shell itself and others.")
|
||||
|
Loading…
x
Reference in New Issue
Block a user