Skip to content

Commit 1e54c54

Browse files
authored
DOCSP-35214 .mongoshrc configuration file (#313)
* DOCSP-35214 mongoshrc configuration file * JA feedback
1 parent 8add742 commit 1e54c54

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

source/includes/fact-mongoshrc-loading.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ on the command line or by specifying a :ref:`.js file
1111
.mongoshrc.js from being loaded by using the :option:`--norc
1212
<mongosh --norc>` option.
1313

14-
.. note::
14+
.. note:: Legacy Shell Configuration
1515

16-
The legacy :binary:`~bin.mongo` shell used a configuration file
17-
called .mongorc.js. If :binary:`mongosh` detects this file on
18-
startup, and .mongoshrc.js is not present, :binary:`mongosh` does not
19-
load the legacy .mongorc.js file, and suggests renaming .mongorc.js
20-
to .mongoshrc.js.
16+
The legacy :binary:`~bin.mongo` shell used a configuration file called
17+
``.mongorc.js``. If :binary:`mongosh` detects this file on startup and
18+
``.mongoshrc.js`` is not present, :binary:`mongosh` does not load the legacy
19+
``.mongorc.js`` file, and suggests renaming ``.mongorc.js`` to
20+
``.mongoshrc.js``.

0 commit comments

Comments
 (0)