mirror of
https://github.com/Hilbis/Hilbish
synced 2025-04-01 11:13:24 +00:00
feat: add hilbish.home
`hilbish.home` is the user's home directory path this is a cross platform variable that works instead of using `$HOME` (which isnt set in windows cmd, i think)
This commit is contained in:
parent
efc956a04c
commit
a4dbfbf4bb
@ -25,6 +25,7 @@ func HilbishLoader(L *lua.LState) int {
|
||||
L.SetField(mod, "ver", lua.LString(version))
|
||||
L.SetField(mod, "user", lua.LString(curuser.Username))
|
||||
L.SetField(mod, "host", lua.LString(host))
|
||||
L.SetField(mod, "home", lua.LString(homedir))
|
||||
|
||||
L.Push(mod)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user