diff options
author | Timothee Cour <timothee.cour2@gmail.com> | 2018-03-27 00:45:43 -0700 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-03-27 09:45:43 +0200 |
commit | 50229293ae5898acc2c30f9cb87b59e2fa0b236a (patch) | |
tree | c599ecd488e70480a5a046f247d8a88bb54448e2 | |
parent | 23064bba3a711d3f6bddfb8568c0d1732acdffb2 (diff) | |
download | Nim-50229293ae5898acc2c30f9cb87b59e2fa0b236a.tar.gz |
doc: fix path to $HOME/.config/nim.cfg to work on POSIX (not just unix but also osx) (#7421)
-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 e949df69c..151510df2 100644 --- a/doc/nimc.rst +++ b/doc/nimc.rst @@ -115,7 +115,7 @@ 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.cfg`` (UNIX) or ``%NIMROD%/config/nim.cfg`` (Windows). This file can be skipped with the ``--skipCfg`` command line option. -2) ``/home/$user/.config/nim.cfg`` (UNIX) or ``%APPDATA%/nim.cfg`` (Windows). This file can be skipped with the ``--skipUserCfg`` command line option. +2) ``$HOME/.config/nim.cfg`` (POSIX) or ``%APPDATA%/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. 5) A project can also have a project specific configuration file named ``$project.nim.cfg`` that resides in the same directory as ``$project.nim``. This file can be skipped with the ``--skipProjCfg`` command line option. |