From 8e914bb2e207390059c0b46a74eeb8078df327f3 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Sun, 24 Sep 2017 20:08:57 -0400 Subject: [PATCH] advanced Signed-off-by: Kenneth Reitz --- docs/advanced.rst | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/advanced.rst b/docs/advanced.rst index ca6ef4d6..b91a3cf1 100644 --- a/docs/advanced.rst +++ b/docs/advanced.rst @@ -522,14 +522,12 @@ $ pipenv lock ☤ About Shell Configuration --------------------------- -Shells are typically misconfigured for subshell use, so ``$ pipenv shell`` may produce unexpected results. If this is the case, try ``$ pipenv shell -c``, which uses "compatibility mode", and will attempt to spawn a subshell despite misconfiguration. +Shells are typically misconfigured for subshell use, so ``$ pipenv shell --fancy`` may produce unexpected results. If this is the case, try ``$ pipenv shell``, which uses "compatibility mode", and will attempt to spawn a subshell despite misconfiguration. A proper shell configuration only sets environment variables like ``PATH`` during a login session, not during every subshell spawn (as they are typically configured to do). In fish, this looks like this:: if status --is-login - set -gx PATH /usr/local/bin $PATH - end You should do this for your shell too, in your ``~/.profile`` or ``~/.bashrc`` or wherever appropriate.