From a6e6fa1c3c08df05ab5505b7c05a68b4f3cd236b Mon Sep 17 00:00:00 2001 From: Wes Lord Date: Fri, 19 May 2023 16:36:45 -0700 Subject: [PATCH] Reword active shell warning to reduce ambiguity (#5681) * Reword active shell warning to reduce ambiguity * Add change description to news/5681.trivial.rst --- news/5681.trivial.rst | 1 + pipenv/cli/command.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 news/5681.trivial.rst 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),