fix: make custom hist dir match default by adding hilbish to the path

insensitive-tab^2
TorchedSammy 2022-04-23 23:55:04 -04:00
parent 984b8a4308
commit bcf02a6b0e
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD
1 changed files with 1 additions and 1 deletions

View File

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