Use console lexer, not bash, for shell sessions

This commit is contained in:
Andrew Janke
2018-12-18 00:51:46 -05:00
parent 0dfc4c3555
commit c902b8c628
+4 -4
View File
@@ -25,7 +25,7 @@ Make sure you've got Python & pip
Before you go any further, make sure you have Python and that it's available Before you go any further, make sure you have Python and that it's available
from your command line. You can check this by simply running: from your command line. You can check this by simply running:
.. code-block:: bash .. code-block:: console
$ python --version $ python --version
@@ -50,7 +50,7 @@ install the latest 3.x version from `python.org`_ or refer to the
Additionally, you'll need to make sure you have `pip`_ available. You can Additionally, you'll need to make sure you have `pip`_ available. You can
check this by running: check this by running:
.. code-block:: bash .. code-block:: console
$ pip --version $ pip --version
@@ -116,7 +116,7 @@ Pipenv manages dependencies on a per-project basis. To install packages,
change into your project's directory (or just an empty directory for this change into your project's directory (or just an empty directory for this
tutorial) and run: tutorial) and run:
.. code-block:: bash .. code-block:: console
$ cd myproject $ cd myproject
$ pipenv install requests $ pipenv install requests
@@ -175,7 +175,7 @@ use it:
Then you can run this script using ``pipenv run``: Then you can run this script using ``pipenv run``:
.. code-block:: bash .. code-block:: console
$ pipenv run python main.py $ pipenv run python main.py