diff options
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2012-07-15 20:58:13 (GMT) |
---|---|---|
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2012-07-15 20:58:13 (GMT) |
commit | e554f8b858b38424891a523d4c9e537200eacfef (patch) | |
tree | bfe0ac366de8ebea189ff9a4d5a5706486d35f91 /Lib/venv | |
parent | b40380667c98a3ab7e244e036944f731d61ffc27 (diff) | |
download | cpython-e554f8b858b38424891a523d4c9e537200eacfef.zip cpython-e554f8b858b38424891a523d4c9e537200eacfef.tar.gz cpython-e554f8b858b38424891a523d4c9e537200eacfef.tar.bz2 |
Closes #15361: Corrected venv prompt in PowerShell activation script.
Diffstat (limited to 'Lib/venv')
-rw-r--r-- | Lib/venv/scripts/nt/Activate.ps1 | 2 |
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
}
|