[Haskell-cafe] Local .ghci_history

Niklas Hambüchen mail at nh2.me
Tue May 27 18:48:33 UTC 2014


I really need this.

On Tue 27 May 2014 17:40:15 BST, João Cristóvão wrote:
> Hello,
>
> 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
> you want).
>
> 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:
>
> http://trac.haskell.org/haskeline/wiki/UserPrefs
>
> Has vastly improved my ghci workflow.
>
>
> What do you think?
>
> João
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe


More information about the Haskell-Cafe mailing list