Skip to content

Commit 8573104

Browse files
authored
Fix powershell venv Python prompt (microsoft#269637)
1 parent edf756a commit 8573104

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/vs/workbench/contrib/terminal/common/scripts/shellIntegration.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ if (-not $env:VSCODE_PYTHON_AUTOACTIVATE_GUARD) {
8282

8383
try {
8484
Invoke-Expression $activateScript
85+
$Global:__VSCodeState.OriginalPrompt = $function:Prompt
8586
}
8687
catch {
8788
$activationError = $_

0 commit comments

Comments
 (0)