mirror of https://github.com/Hilbis/Hilbish
fix: make custom hist dir match default by adding hilbish to the path
parent
984b8a4308
commit
bcf02a6b0e
2
main.go
2
main.go
|
@ -62,7 +62,7 @@ func main() {
|
||||||
if defaultHistDir == "" {
|
if defaultHistDir == "" {
|
||||||
defaultHistDir = filepath.Join(userDataDir, "hilbish")
|
defaultHistDir = filepath.Join(userDataDir, "hilbish")
|
||||||
} else {
|
} else {
|
||||||
defaultHistDir = expandHome(defaultHistDir)
|
defaultHistDir = filepath.Join(expandHome(defaultHistDir), "hilbish")
|
||||||
}
|
}
|
||||||
defaultHistPath = filepath.Join(defaultHistDir, ".hilbish-history")
|
defaultHistPath = filepath.Join(defaultHistDir, ".hilbish-history")
|
||||||
helpflag := getopt.BoolLong("help", 'h', "Prints Hilbish flags")
|
helpflag := getopt.BoolLong("help", 'h', "Prints Hilbish flags")
|
||||||
|
|
Loading…
Reference in New Issue