From ad2fe5168a486a63d14714c33d1b4b340502e7ba Mon Sep 17 00:00:00 2001 From: Hackerpilot Date: Fri, 29 Jan 2016 13:19:44 -0800 Subject: [PATCH] Fix documentation for config file path. Should help with kingsleyh/DLanguage#91 --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8eb59aa..a4ea6a6 100644 --- a/README.md +++ b/README.md @@ -217,7 +217,9 @@ In future versions the client may start the server if it is not running, but for now it must be started manually or by an editor plugin. ## Configuration Files -The server will attempt to read the file ```~/.config/dcd``` on Posix systems, or ```dcd.conf``` on Windows in the current working directory on startup. +The server will attempt to read the file ```${XDG_CONFIG_HOME}/dcd/dcd.conf``` +(`~/.config/dcd/dcd.conf` if XDG_CONFIG_HOME is not set) on Posix systems, or +```dcd.conf``` on Windows in the current working directory on startup. If it exists, each line of the file is interpreted as a path that should be searched when looking for module imports. Lines that start with the "#" character are ignored.