From 5eb5643062f5ca75daa774a7aaacb14435e30425 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lilian=20J=C3=B3nsd=C3=B3ttir?= Date: Tue, 7 May 2024 17:59:29 -0700 Subject: [PATCH] fall back to proper data dir somehow I forgot a . --- pkg/env/env.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/env/env.go b/pkg/env/env.go index 08b78bc..389791c 100644 --- a/pkg/env/env.go +++ b/pkg/env/env.go @@ -67,7 +67,7 @@ func GetDataDir(appname string) string { if datahome := os.Getenv("XDG_DATA_HOME"); datahome != "" { datadir = datahome } else { - datadir = make_path(os.Getenv("HOME"), "local", "share") + datadir = make_path(os.Getenv("HOME"), ".local", "share") } }