mirror of https://github.com/Hilbis/Hilbish
fix!: change config path when custom config dir is used to be init.lua instead of .hilbishrc.lua
parent
4ef6c7d5c0
commit
4364031b16
2
main.go
2
main.go
|
@ -55,7 +55,7 @@ func main() {
|
|||
defaultConfPath = filepath.Join(confDir, "hilbish", "init.lua")
|
||||
} else {
|
||||
// else do ~ substitution
|
||||
defaultConfPath = filepath.Join(strings.Replace(defaultConfDir, "~", homedir, 1), ".hilbishrc.lua")
|
||||
defaultConfPath = filepath.Join(strings.Replace(defaultConfDir, "~", homedir, 1), "init.lua")
|
||||
}
|
||||
if defaultHistDir == "" {
|
||||
defaultHistPath = filepath.Join(userDataDir, "hilbish", ".hilbish-history")
|
||||
|
|
Loading…
Reference in New Issue