summaryrefslogtreecommitdiffstats
path: root/Lib/venv/scripts/nt/Activate.ps1
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2012-07-15 20:58:13 (GMT)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2012-07-15 20:58:13 (GMT)
commite554f8b858b38424891a523d4c9e537200eacfef (patch)
treebfe0ac366de8ebea189ff9a4d5a5706486d35f91 /Lib/venv/scripts/nt/Activate.ps1
parentb40380667c98a3ab7e244e036944f731d61ffc27 (diff)
downloadcpython-e554f8b858b38424891a523d4c9e537200eacfef.zip
cpython-e554f8b858b38424891a523d4c9e537200eacfef.tar.gz
cpython-e554f8b858b38424891a523d4c9e537200eacfef.tar.bz2
Closes #15361: Corrected venv prompt in PowerShell activation script.
Diffstat (limited to 'Lib/venv/scripts/nt/Activate.ps1')
-rw-r--r--Lib/venv/scripts/nt/Activate.ps12
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/venv/scripts/nt/Activate.ps1 b/Lib/venv/scripts/nt/Activate.ps1
index 967ba5c..1c5ef98 100644
--- a/Lib/venv/scripts/nt/Activate.ps1
+++ b/Lib/venv/scripts/nt/Activate.ps1
@@ -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
}