From 4364031b166da82b0cc71893f8660a5bccd34542 Mon Sep 17 00:00:00 2001 From: TorchedSammy <38820196+TorchedSammy@users.noreply.github.com> Date: Sun, 6 Mar 2022 14:39:11 -0400 Subject: [PATCH] fix!: change config path when custom config dir is used to be init.lua instead of .hilbishrc.lua --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index a248f88..3594b77 100644 --- a/main.go +++ b/main.go @@ -55,7 +55,7 @@ func main() { defaultConfPath = filepath.Join(confDir, "hilbish", "init.lua") } else { // else do ~ substitution - defaultConfPath = filepath.Join(strings.Replace(defaultConfDir, "~", homedir, 1), ".hilbishrc.lua") + defaultConfPath = filepath.Join(strings.Replace(defaultConfDir, "~", homedir, 1), "init.lua") } if defaultHistDir == "" { defaultHistPath = filepath.Join(userDataDir, "hilbish", ".hilbish-history")