Merge pull request #266 from hellerve/history-file

repl: put history file into .carp dir
This commit is contained in:
Erik Svedäng 2018-07-19 11:49:32 +02:00 committed by GitHub
commit c189fd4722
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -72,7 +72,7 @@ readlineSettings = do
home <- getHomeDirectory
return $ Settings {
complete = completeWordWithPrev Nothing ['(', ')', '[', ']', ' ', '\t', '\n'] completeKeywords,
historyFile = Just $ home ++ "/.carp_history",
historyFile = Just $ home ++ "/.carp/history",
autoAddHistory = True
}