#2050: GHCi should keep a persistent history file
-----------------------------+----------------------------------------------
Reporter: ajd | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: 6.10 branch
Component: GHCi | Version: 6.8.2
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Testcase: | Architecture: Unknown
Os: Unknown |
-----------------------------+----------------------------------------------
Comment (by judah):
I've added a new version of ajd's patch, which works with the types of
read/writeHistory that were settled on in #2053. Two other things:
- The history file is saved as ~/.ghci_history (but not if the home
directory can't be retrieved)
- The history is limited to 100 entries (to prevent the history file from
growing too big)
Does this look OK? Note that the history size can be changed by calling
`stifleHistory` in the `.ghci` file.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2050#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs