From 209abfac778b730469fa35f2b604240b45b656f6 Mon Sep 17 00:00:00 2001 From: TorchedSammy <38820196+TorchedSammy@users.noreply.github.com> Date: Wed, 23 Feb 2022 21:29:37 -0400 Subject: [PATCH] fix: change default hist path to use hist name instead of config name --- main.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/main.go b/main.go index 5bd1cd3..6a28a69 100644 --- a/main.go +++ b/main.go @@ -60,8 +60,7 @@ func main() { defaultHistPath = filepath.Join(confDir, "hilbish", ".hilbish-history") } } else { - // else do ~ substitution - defaultHistPath = filepath.Join(strings.Replace(defaultHistDir, "~", homedir, 1), ".hilbishrc.lua") + defaultHistPath = filepath.Join(strings.Replace(defaultHistDir, "~", homedir, 1), ".hilbish-history") } helpflag := getopt.BoolLong("help", 'h', "Prints Hilbish flags") verflag := getopt.BoolLong("version", 'v', "Prints Hilbish version")