Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e554f8b

Browse files
committed
Closes #15361: Corrected venv prompt in PowerShell activation script.
1 parent b403806 commit e554f8b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/venv/scripts/nt/Activate.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ if (Test-Path env:_OLD_VIRTUAL_PATH) {
1919
# Set the prompt to include the env name
2020
copy-item function:prompt function:_OLD_VIRTUAL_PROMPT
2121
function prompt {
22-
Write-Host -NoNewline -ForegroundColor Green [__VENV_NAME__]
22+
Write-Host -NoNewline -ForegroundColor Green '[__VENV_NAME__]'
2323
_OLD_VIRTUAL_PROMPT
2424
}
2525

0 commit comments

Comments
 (0)