FIX #1838, #1987: change where GHCi searches for config files
authorSimon Marlow <simonmar@microsoft.com>
Wed, 23 Jan 2008 14:32:07 +0000 (14:32 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Wed, 23 Jan 2008 14:32:07 +0000 (14:32 +0000)
commitf6efe0c76c00807a9dd3fb5649a0938f14923666
tree970fc81cabd1bf157152792f15d3c91229e095b8
parent54a26ee6c4a70d8ab2a41a32507cf270ecbafb8a
FIX #1838, #1987: change where GHCi searches for config files

6.6 behaviour:
  - ./.ghci
  - $HOME/.ghci

6.8.[12] behaviour:
  - ./.ghci
  - Windows: c:/Documents and Settings/<user>/.ghci
  - Unix: $HOME/.ghci

6.10 (and 6.8.3 when this is merged):
  - ./.ghci
  - Windows: c:/Documents and Settings/<user>/Application Data/ghc/ghci.conf
  - Unix: $HOME/.ghc/ghci.conf
  - $HOME/.ghci

We will need to document this in the 6.8.3 release notes because it
may affect Windows users who have adapted their setup to 6.8.[12].
compiler/ghci/InteractiveUI.hs
docs/users_guide/ghci.xml