diff --git a/hilbish.go b/hilbish.go index 0ef1ced..24f705b 100644 --- a/hilbish.go +++ b/hilbish.go @@ -36,6 +36,8 @@ func HilbishLoader(L *lua.LState) int { L.SetField(mod, "host", lua.LString(host)) L.SetField(mod, "home", lua.LString(homedir)) L.SetField(mod, "dataDir", lua.LString(dataDir)) + L.SetField(mod, "interactive", lua.LBool(interactive)) + L.SetField(mod, "login", lua.LBool(interactive)) xdg := L.NewTable() L.SetField(xdg, "config", lua.LString(confDir))