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)
pull/61/head
sammyette 2021-06-11 21:49:28 -04:00
parent efc956a04c
commit a4dbfbf4bb
No known key found for this signature in database
GPG Key ID: 50EE40A2809851F5
1 changed files with 1 additions and 0 deletions

View File

@ -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)