Update basics.rst

Add the description of `PIPENV_SHELL`
This commit is contained in:
零件
2018-08-01 22:34:33 +08:00
committed by GitHub
parent ddbec58d9b
commit 0f30bcbcdb
+1 -1
View File
@@ -326,7 +326,7 @@ You should do this for your shell too, in your ``~/.profile`` or ``~/.bashrc`` o
.. note:: The shell launched in interactive mode. This means that if your shell reads its configuration from a specific file for interactive mode (e.g. bash by default looks for a ``~/.bashrc`` configuration file for interactive mode), then you'll need to modify (or create) this file.
Also ``pipenv shell`` use ``$SHELL`` environment variable to get the name of shell you are running, if something wrong, just check it.
If you get something wrong with ``$ pipenv shell``, just check ``PIPENV_SHELL`` environment variable, ``$ pipenv shell`` will use it if available. For detail, see `Configuration With Environment Variables <https://docs.pipenv.org/advanced/#configuration-with-environment-variables>`_.
☤ A Note about VCS Dependencies
-------------------------------