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

This commit is contained in:
Vinay Sajip 2012-07-15 21:58:13 +01:00
parent b40380667c
commit e554f8b858

View file

@ -19,7 +19,7 @@ if (Test-Path env:_OLD_VIRTUAL_PATH) {
# Set the prompt to include the env name
copy-item function:prompt function:_OLD_VIRTUAL_PROMPT
function prompt {
Write-Host -NoNewline -ForegroundColor Green [__VENV_NAME__]
Write-Host -NoNewline -ForegroundColor Green '[__VENV_NAME__]'
_OLD_VIRTUAL_PROMPT
}