diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2018-10-16 18:39:57 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-10-16 20:09:12 +0200 |
commit | b340f677ebf0fe4224163e0735f16b4acb9fbed8 (patch) | |
tree | f4f5565ee2445f50a43219711e60df9e08a247a4 /doc/nimc.rst | |
parent | afd9d8dd8d99391500ef91085b76b34d77a37648 (diff) | |
download | Nim-b340f677ebf0fe4224163e0735f16b4acb9fbed8.tar.gz |
fixes #9244
Diffstat (limited to 'doc/nimc.rst')
-rw-r--r-- | doc/nimc.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/nimc.rst b/doc/nimc.rst index acda484fb..0fa2cd038 100644 --- a/doc/nimc.rst +++ b/doc/nimc.rst @@ -157,7 +157,7 @@ passed as a command line argument to the compiler. The ``nim`` executable processes configuration files in the following directories (in this order; later files overwrite previous settings): -1) ``$nim/config/nim.cfg``, ``/etc/nim/nim.cfg`` (UNIX) or ``%NIM%/config/nim.cfg`` (Windows). This file can be skipped with the ``--skipCfg`` command line option. +1) ``$nim/config/nim.cfg``, ``/etc/nim/nim.cfg`` (UNIX) or ``<Nim's installation director>\config\nim.cfg`` (Windows). This file can be skipped with the ``--skipCfg`` command line option. 2) If environment variable ``XDG_CONFIG_HOME`` is defined, ``$XDG_CONFIG_HOME/nim/nim.cfg`` or ``~/.config/nim/nim.cfg`` (POSIX) or ``%APPDATA%/nim/nim.cfg`` (Windows). This file can be skipped with the ``--skipUserCfg`` command line option. 3) ``$parentDir/nim.cfg`` where ``$parentDir`` stands for any parent directory of the project file's path. These files can be skipped with the ``--skipParentCfg`` command line option. 4) ``$projectDir/nim.cfg`` where ``$projectDir`` stands for the project file's path. This file can be skipped with the ``--skipProjCfg`` command line option. |