#3601: When running two or more instances of GHCi, persistent history is only
kept
for the first one
-----------------------------+----------------------------------------------
Reporter: arnar | Owner:
Type: bug | Status: new
Priority: normal | Component: GHCi
Version: 6.10.4 | Severity: minor
Keywords: ghci history | Testcase:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
-----------------------------+----------------------------------------------
The file `~/.ghc/ghci_history` maintains the command history for the first
running GHCi instance. No persistent history is kept for concurrently
running ghci processes. See #2050.
bash provides an option of setting `shopt -s histappend`, which makes all
bash instances share the same history file. Perhaps writing to the same
file would be somewhat silly in the case of GHCi, but writing to
.ghci_history.2 or similar could be one solution.
Alternatively, a command within GHCi to dump the current instance's
command history to a file would work also.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3601>
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