2
2
mirror of https://github.com/Hilbis/Hilbish synced 2025-04-01 11:13:24 +00:00

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

This commit is contained in:
TorchedSammy 2022-04-23 23:55:04 -04:00
parent 984b8a4308
commit bcf02a6b0e
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD

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