We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 530c1b4 commit 4eb054eCopy full SHA for 4eb054e
src/vs/workbench/contrib/terminal/browser/media/shellIntegration.ps1
@@ -64,7 +64,7 @@ function Global:Prompt() {
64
$Result += "$([char]0x1b)]633;A`a"
65
# Current working directory
66
# OSC 633 ; <Property>=<Value> ST
67
- $Result += if($pwd.Provider.Name -eq 'FileSystem'){"$([char]0x1b)]633;P;Cwd=$($pwd.ProviderPath)`a"}
+ $Result += if($pwd.Provider.Name -eq 'FileSystem'){"$([char]0x1b)]633;P;Cwd=$(__VSCode-Escape-Value $pwd.ProviderPath)`a"}
68
# Before running the original prompt, put $? back to what it was:
69
if ($FakeCode -ne 0) {
70
Write-Error "failure" -ea ignore
0 commit comments