Remove -flocal-ghci-history from default flags
authorRyan Scott <ryan.gl.scott@gmail.com>
Sat, 10 Sep 2016 17:51:23 +0000 (13:51 -0400)
committerRyan Scott <ryan.gl.scott@gmail.com>
Sat, 10 Sep 2016 17:51:23 +0000 (13:51 -0400)
commit7b4bb40555eb19b528a976ff1f1b43c8bded6373
tree9256b48e9f039ef04ab3d50e6e27b54c99383b2e
parent1b5f9207a649a64a1bba20b0283253425f9208d7
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
compiler/main/DynFlags.hs