From bcf02a6b0eaa2f751f50d68697e116a4648885fc Mon Sep 17 00:00:00 2001 From: TorchedSammy <38820196+TorchedSammy@users.noreply.github.com> Date: Sat, 23 Apr 2022 23:55:04 -0400 Subject: [PATCH] fix: make custom hist dir match default by adding hilbish to the path --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index ff04430..ac79487 100644 --- a/main.go +++ b/main.go @@ -62,7 +62,7 @@ func main() { if defaultHistDir == "" { defaultHistDir = filepath.Join(userDataDir, "hilbish") } else { - defaultHistDir = expandHome(defaultHistDir) + defaultHistDir = filepath.Join(expandHome(defaultHistDir), "hilbish") } defaultHistPath = filepath.Join(defaultHistDir, ".hilbish-history") helpflag := getopt.BoolLong("help", 'h', "Prints Hilbish flags")