- Mac OS X 10.4.11 (Tiger)
- GHC 6.10.1 (installed with MacPorts)
To enable persistent history create directory ~/.ghc, so ghci can maintain the file ~/.ghc/ghci_history persistent between sessions. The default is a history of 100 commands but you can change that by adding this line to your ~/.ghc/ghci.conf:
which would increase your history to 1000 commands.
I didn't find any explicit documentation about ghci command history configuration, but rather cobbled it together from patch files and developer mailing lists.