We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d643706 + 944a61c commit 4ca7aebCopy full SHA for 4ca7aeb
doc/config.rst
@@ -82,7 +82,9 @@ The configuration file location is determined as follows:
82
1. If option ``--config-file`` is given, use it;
83
2. otherwise, if ``$CABAL_CONFIG`` is set use it;
84
3. otherwise, if ``$CABAL_DIR`` is set use ``$CABAL_DIR/config``;
85
-4. otherwise use ``config`` in ``$XDG_CONFIG_HOME/cabal``, which
+4. otherwise, if ``~/.cabal`` exists, and is a directory, use
86
+ ``~/.cabal/config``;
87
+5. otherwise use ``config`` in ``$XDG_CONFIG_HOME/cabal``, which
88
defaults to ``~/.config/cabal`` on Unix.
89
90
If the configuration file does not exist, and it was not given
0 commit comments