Closed robsonsobral closed 3 years ago
To avoid it, add to a plugin:
Import-Module "$pluginDir\z"
Set-Alias z Search-NavigationHistory -Scope "global"
function global:pshazz:z:prompt {
$esc=[char]27
$p = $pwd.ProviderPath
Write-host "$esc]9;9;`"$p`"$esc\" -NoNewline
}
Hi!
Pshazz prevents Windows Terminal from open a new terminal on the same directory.