mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Closes #15361: Corrected venv prompt in PowerShell activation script.
This commit is contained in:
parent
b40380667c
commit
e554f8b858
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue