How to configure amount of command history saved by GHCi?
ghci, haskell
Solution
On my system (GNU/Linux, GHC 7.6.3), GHCi is built against the haskeline library. According to this document, it can be customised by editing the `~/.haskeline` file:
`maxhistorysize: Just 1000 `
Problem
By default, GHCi saves 100 lines of command history in `~/.ghc/ghci_history`. Can I increase this number? I'm using GHC 7.6.3 on GNU/Linux.