Skip to content

Commit eabadf9

Browse files
authored
fix incorrect comment
1 parent 7b248bc commit eabadf9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vendor/profile.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,8 +227,8 @@ if ( $(Get-Command prompt).Definition -match 'PS \$\(\$executionContext.SessionS
227227
Microsoft.PowerShell.Utility\Write-Host -NoNewline "$([char]0x1B)]133;D;$realLastExitCode$([char]7)"
228228
}
229229

230-
# Emit OSC 9;9 to mark the start of the prompt
231-
# Enables directory tracking for "Duplicate Tab" and "Split Pane"
230+
# Emit OSC 9;9 to enable directory tracking
231+
# Enables "Duplicate Tab" and "Split Pane" to preserve the working directory
232232
$loc = $executionContext.SessionState.Path.CurrentLocation
233233
if ($loc.Provider.Name -eq "FileSystem") {
234234
Microsoft.PowerShell.Utility\Write-Host -NoNewline "$([char]0x1B)]9;9;`"$($loc.ProviderPath)`"$([char]0x1B)\"

0 commit comments

Comments
 (0)