diff --git a/lua.c b/lua.c index c24af8084..3ebf5a23f 100644 --- a/lua.c +++ b/lua.c @@ -519,6 +519,7 @@ luaA_init(void) lua_settable(L, LUA_GLOBALSINDEX); luaA_dostring(L, "package.path = package.path .. \";" AWESOME_LUA_LIB_PATH "/?.lua\""); + luaA_dostring(L, "package.path = package.path .. \";" AWESOME_LUA_LIB_PATH "/?/init.lua\""); /* init hooks */ globalconf.hooks.manage = LUA_REFNIL;