Skip to content

Commit a476bb5

Browse files
committed
Merge pull request realpython#407 from Zearin/markup-env
Mark up environment variables
2 parents 4dec827 + b15f773 commit a476bb5

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

docs/starting/install/osx.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ simply run
4646
The script will explain what changes it will make and prompt you before the
4747
installation begins.
4848
Once you've installed Homebrew, insert the Homebrew directory at the top
49-
of your ``PATH`` environment variable. You can do this by adding the following
49+
of your :envvar:`PATH` environment variable. You can do this by adding the following
5050
line at the bottom of your :file:`~/.bashrc` file
5151

5252
.. code-block:: console
@@ -60,7 +60,7 @@ Now, we can install Python 2.7:
6060
$ brew install python
6161
6262
This will take a minute or two. Once that's complete, you'll have to add the
63-
new Python scripts directory to your ``PATH``
63+
new Python scripts directory to your :envvar:`PATH`
6464

6565
.. code-block:: console
6666

docs/starting/install/win.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ e.g. Python version 2.7 will install at :file:`C:\Python27\`, so that you can
1717
have multiple versions of Python on the
1818
same system without conflicts. Of course, only one interpreter can be the
1919
default application for Python file types. It also does not automatically
20-
modify the ``PATH`` environment variable, so that you always have control over
20+
modify the :envvar:`PATH` environment variable, so that you always have control over
2121
which copy of Python is run.
2222

2323
Typing the full path name for a Python interpreter each time quickly gets
24-
tedious, so add the directories for your default Python version to the PATH.
24+
tedious, so add the directories for your default Python version to the :envvar:`PATH`.
2525
Assuming that your Python installation is in :file:`C:\Python27\`, add this to your
26-
PATH:
26+
:envvar:`PATH`:
2727

2828
.. code-block:: console
2929

0 commit comments

Comments
 (0)