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")