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.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With