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 abf9cb9 commit 3ff7361Copy full SHA for 3ff7361
src/vs/workbench/contrib/terminal/browser/media/shellIntegration.ps1
@@ -389,7 +389,7 @@ function Send-Completions {
389
# Add `../ relative to the top completion
390
$firstCompletion = $completions.CompletionMatches[0]
391
if ($firstCompletion.CompletionText.StartsWith("..$([System.IO.Path]::DirectorySeparatorChar)")) {
392
- if ($completionPrefix -match "(\.\.$([System.IO.Path]::DirectorySeparatorChar))+") {
+ if ($completionPrefix -match "(\.\.\$([System.IO.Path]::DirectorySeparatorChar))+") {
393
$parentDir = "$($matches[0])..$([System.IO.Path]::DirectorySeparatorChar)"
394
$currentPath = Split-Path -Parent $firstCompletion.ToolTip
395
try {
0 commit comments