[Haskell-cafe] Local .ghci_history
jmacristovao at gmail.com
Tue May 27 16:40:15 UTC 2014
I raised this on trac ( https://ghc.haskell.org/trac/ghc/ticket/9089
), but it seems it did not get much attention, but surelly I'm not the
only one who finds this useful.
With this little change, if there is a .ghci_history in the folder
where you launch ghci it will use it instead of the global
~/.ghc/ghci_history. So, if you keep jumping from one project folder
to the other, you can have a project specific history on each one (if
If you do not create a local .ghci_history file on that folder, the
behaviour is exactly the same as it was before. Thus, this is somewhat
identical to the local .ghci file.
This, coupled with finally discovering the well hidden possibility of
increasing the history size:
Has vastly improved my ghci workflow.
What do you think?
More information about the Haskell-Cafe