aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua_api.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lua_api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lua_api.c b/src/lua_api.c
index 0e20752..25f2f94 100644
--- a/src/lua_api.c
+++ b/src/lua_api.c
@@ -44,8 +44,8 @@ int lua_load_script(lua_State *L, const char *script, char **args) {
} else {
const char *home_dir = getenv("HOME");
if (home_dir != NULL) {
- snprintf(script_path, sizeof(script_path), "%s/.lush/scripts/%s",
- home_dir, script);
+ snprintf(script_path, sizeof(script_path),
+ "%s/.config/lush/scripts/%s", home_dir, script);
if (access(script_path, F_OK) != 0) {
// script not in either location