[Git][ghc/ghc][master] users-guide: fix incorrect ghcappdata folder for unix and windows

Marge Bot (@marge-bot) gitlab at gitlab.haskell.org
Wed Sep 21 12:28:31 UTC 2022



Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC


Commits:
a971657d by Mon Aaraj at 2022-09-21T06:41:24+03:00
users-guide: fix incorrect ghcappdata folder for unix and windows

- - - - -


1 changed file:

- docs/users_guide/ghci.rst


Changes:

=====================================
docs/users_guide/ghci.rst
=====================================
@@ -3295,13 +3295,12 @@ reads and executes commands from the following files, in this order, if
 they exist:
 
 1. :file:`{ghcappdata}/ghci.conf`, where ⟨ghcappdata⟩ depends on
-   your system, but is usually something like :file:`$HOME/.ghc` on
-   Unix or :file:`C:/Documents and Settings/user/Application
-   Data/ghc` on Windows.
+   your system, but is usually something like :file:`$HOME/.ghc` or
+   :file:`$XDG_CONFIG_HOME/ghc` on Unix or
+   :file:`C:\\Users\\{username}\\AppData\\Roaming\\ghc` on
+   Windows.
 
-2. :file:`$XDG_CONFIG_HOME/.ghci`
-
-3. :file:`./.ghci`
+2. :file:`./.ghci`
 
 The :file:`ghci.conf` file is most useful for turning on favourite options
 (e.g. ``:set +s``), and defining useful macros.



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/a971657d5c4e919a8d446386374e5ed491e9f6b9

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/a971657d5c4e919a8d446386374e5ed491e9f6b9
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20220921/10f5855b/attachment.html>


More information about the ghc-commits mailing list