[GHC] #9089: Local .ghci_history

GHC ghc-devs at haskell.org
Sat Sep 10 17:58:37 UTC 2016


#9089: Local .ghci_history
-------------------------------------+-------------------------------------
        Reporter:  jcristovao        |                Owner:  ak3n
            Type:  feature request   |               Status:  closed
        Priority:  normal            |            Milestone:  8.2.1
       Component:  GHCi              |              Version:  7.8.2
      Resolution:  fixed             |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D2461
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Ryan Scott <ryan.gl.scott@…>):

 In [changeset:"7b4bb40555eb19b528a976ff1f1b43c8bded6373/ghc" 7b4bb40/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="7b4bb40555eb19b528a976ff1f1b43c8bded6373"
 Remove -flocal-ghci-history from default flags

 Summary:
 D2461 seemed to (inadvertently, I think) add the
 `-flocal-ghci-history` flag to the list of `defaultFlags` that are enabled
 automatically. As a result, every invocation of `ghci` caused a local GHCi
 history to be saved to the current directory, which probably shouldn't be
 the
 default.

 Test Plan:
 Run `ghci`, observe the lack of a `.ghci_history` file in your
 working directory

 Reviewers: austin, thomie, bgamari

 Reviewed By: bgamari

 Subscribers: ak3n

 Differential Revision: https://phabricator.haskell.org/D2520

 GHC Trac Issues: #9089
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9089#comment:19>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list