diff --git a/news/5681.trivial.rst b/news/5681.trivial.rst new file mode 100644 index 00000000..91aa9ffc --- /dev/null +++ b/news/5681.trivial.rst @@ -0,0 +1 @@ +Reword active shell warning to reduce ambiguity diff --git a/pipenv/cli/command.py b/pipenv/cli/command.py index c6b384e2..04e72ca0 100644 --- a/pipenv/cli/command.py +++ b/pipenv/cli/command.py @@ -413,7 +413,7 @@ def shell( venv_name = os.environ.get("VIRTUAL_ENV", "UNKNOWN_VIRTUAL_ENVIRONMENT") if not anyway: echo( - "{} {} {}\nNo action taken to avoid nested environments.".format( + "{} {} {}\nNew shell not activated to avoid nested environments.".format( style("Shell for"), style(venv_name, fg="green", bold=True), style("already activated.", bold=True),