From 87fcdd3c1061003702683cefdd07eab9db2121aa Mon Sep 17 00:00:00 2001 From: sammyette <38820196+TorchedSammy@users.noreply.github.com> Date: Sun, 17 Oct 2021 23:13:53 -0400 Subject: [PATCH] fix: remove / at the end of xdg data path --- hilbish.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hilbish.go b/hilbish.go index 77e8ea4..0ef1ced 100644 --- a/hilbish.go +++ b/hilbish.go @@ -39,7 +39,7 @@ func HilbishLoader(L *lua.LState) int { xdg := L.NewTable() L.SetField(xdg, "config", lua.LString(confDir)) - L.SetField(xdg, "data", lua.LString(getenv("XDG_DATA_HOME", homedir + "/.local/share/"))) + L.SetField(xdg, "data", lua.LString(getenv("XDG_DATA_HOME", homedir + "/.local/share"))) L.SetField(mod, "xdg", xdg) util.Document(L, mod, "A miscellaneous sort of \"core\" API for things that relate to the shell itself and others.")