aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua_api.c
diff options
context:
space:
mode:
authorGravatar Lance Borden 2025-08-19 15:09:00 -0400
committerGravatar Lance Borden 2025-08-19 15:09:00 -0400
commit6ef7c83e19eae145e40f5d8cc9da82484546052a (patch)
tree77540bbe027c13a620128cb358cfb411ed956fa6 /src/lua_api.c
parentv0.4.0 (diff)
update install script paths
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