aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/refman
diff options
context:
space:
mode:
Diffstat (limited to 'doc/refman')
-rw-r--r--doc/refman/RefMan-com.tex15
1 files changed, 8 insertions, 7 deletions
diff --git a/doc/refman/RefMan-com.tex b/doc/refman/RefMan-com.tex
index 17efcb7b5..076519dc6 100644
--- a/doc/refman/RefMan-com.tex
+++ b/doc/refman/RefMan-com.tex
@@ -53,13 +53,14 @@ native-code versions of the system.
\section[Resource file]{Resource file\index{Resource file}}
When \Coq\ is launched, with either {\tt coqtop} or {\tt coqc}, the
-resource file \verb:$HOME/.coqrc.xxx: is loaded, where \verb:$HOME: is
-the home directory of the user and \verb:xxx: is the version number
-(e.g. 8.3). If this file is not found, then the file
-\verb:$HOME/.coqrc: is searched. You can also specify an arbitrary
-name for the resource file (see option \verb:-init-file: below), or
-the name of another user to load the resource file of someone else
-(see option \verb:-user:).
+resource file \verb:$XDG_CONFIG_HOME/coq/coqrc.xxx: is loaded, where
+\verb:$XDG_CONFIG_HOME: is the configuration directory of the user (by
+default its home directory \verb!/.config! and \verb:xxx: is the version
+number (e.g. 8.3). If this file is not found, then the file
+\verb:$XDG_CONFIG_HOME/.coqrc: is searched. You can also specify an
+arbitrary name for the resource file (see option \verb:-init-file:
+below), or the name of another user to load the resource file of someone
+else (see option \verb:-user:).
This file may contain, for instance, \verb:Add LoadPath: commands to add