Skip to content

Commit 0c87f16

Browse files
DOCSP-25235 Add section on how to specifying a config file path
1 parent 305f734 commit 0c87f16

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

source/atlas-cli-save-connection-settings.txt

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,22 @@ location depending on your operating system:
5858

5959
$XDG_CONFIG_HOME/atlascli
6060

61+
By default, {+atlas-cli+} saves the configuration file in the
62+
path defined in the ``$XDG_CONFIG_HOME`` environment variable.
63+
You can modify the path defined in the ``$XDG_CONFIG_HOME``
64+
variable to your preferred location. To learn more about
65+
modifying the ``$XDG_CONFIG_HOME`` variable, see `XDG Base
66+
Directory Specification <https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html>`__.
67+
6168
If ``$XDG_CONFIG_HOME`` is not set, the {+atlas-cli+} uses:
6269

6370
.. code-block::
6471

6572
$HOME/.config/atlascli
6673

67-
The
68-
{+atlas-cli+} grants the user who ran the command read and write access to
69-
the file.
74+
75+
The {+atlas-cli+} grants the user who ran the command read and write
76+
access to the file.
7077

7178
.. _atlas-cli-set-profile:
7279

0 commit comments

Comments
 (0)