[Python-checkins] cpython: Closes #15361: Corrected venv prompt in PowerShell activation script.
vinay.sajip
python-checkins at python.org
Sun Jul 15 22:58:24 CEST 2012
http://hg.python.org/cpython/rev/0b4d0c2173ad
changeset: 78122:0b4d0c2173ad
user: Vinay Sajip <vinay_sajip at yahoo.co.uk>
date: Sun Jul 15 21:58:13 2012 +0100
summary:
Closes #15361: Corrected venv prompt in PowerShell activation script.
files:
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
--- a/Lib/venv/scripts/nt/Activate.ps1
+++ b/Lib/venv/scripts/nt/Activate.ps1
@@ -19,7 +19,7 @@
# 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
}
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list