Commit e554f8b8 authored by Vinay Sajip's avatar Vinay Sajip

Closes #15361: Corrected venv prompt in PowerShell activation script.

parent b4038066
...@@ -19,7 +19,7 @@ if (Test-Path env:_OLD_VIRTUAL_PATH) { ...@@ -19,7 +19,7 @@ if (Test-Path env:_OLD_VIRTUAL_PATH) {
# Set the prompt to include the env name # Set the prompt to include the env name
copy-item function:prompt function:_OLD_VIRTUAL_PROMPT copy-item function:prompt function:_OLD_VIRTUAL_PROMPT
function prompt { function prompt {
Write-Host -NoNewline -ForegroundColor Green [__VENV_NAME__] Write-Host -NoNewline -ForegroundColor Green '[__VENV_NAME__]'
_OLD_VIRTUAL_PROMPT _OLD_VIRTUAL_PROMPT
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment