From 6b8ceccdabc5800a5382cfbade470187f4e07612 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 15 Sep 2024 18:18:42 -0400 Subject: [PATCH] Fix ~/.local/share --- ask.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ask.c b/ask.c index b7df3ce..199d1fc 100644 --- a/ask.c +++ b/ask.c @@ -493,7 +493,7 @@ int main(int argc, char *argv[]) char *xdg_data = getenv("XDG_DATA_HOME"); if (xdg_data == NULL) { strcpy(histpath, getenv("HOME")); - strcat(histpath, "/.local/.share/ask/"); + strcat(histpath, "/.local/share/ask/"); } else { strcpy(histpath, xdg_data); strcat(histpath, "/ask/");