From 5293253c628c54c9096f3d07191a5934a6d979aa Mon Sep 17 00:00:00 2001 From: Lance Borden Date: Tue, 19 Aug 2025 15:03:34 -0400 Subject: keep history to home dir and use .config instead of custom dotfile dir --- src/history.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/history.c') diff --git a/src/history.c b/src/history.c index 93d6983..760461e 100644 --- a/src/history.c +++ b/src/history.c @@ -34,7 +34,7 @@ static char *get_history_path() { return NULL; } - size_t path_length = strlen(pw->pw_dir) + strlen("/.lush/.history") + 1; + size_t path_length = strlen(pw->pw_dir) + strlen("/.lush_history") + 1; char *path = malloc(path_length); if (!path) { perror("malloc"); @@ -42,7 +42,7 @@ static char *get_history_path() { } strcpy(path, pw->pw_dir); - strcat(path, "/.lush/.history"); + strcat(path, "/.lush_history"); return path; } -- cgit v1.2.3-59-g8ed1b