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 5e33cfe commit 89b3b3dCopy full SHA for 89b3b3d
1 file changed
pkg/util/shellutil/shellintegration/pwsh_wavepwsh.sh
@@ -21,14 +21,11 @@ function Global:_waveterm_si_blocked {
21
function Global:_waveterm_si_osc7 {
22
if (_waveterm_si_blocked) { return }
23
24
- # Get hostname with fallback chain
+ # Get hostname (allow empty for file:/// format)
25
$hostname = $env:COMPUTERNAME
26
if (-not $hostname) {
27
$hostname = $env:HOSTNAME
28
}
29
- if (-not $hostname) {
30
- $hostname = [System.Net.Dns]::GetHostName()
31
- }
32
33
# Percent-encode the raw path as-is (handles UNC, drive letters, etc.)
34
$encoded_pwd = [System.Uri]::EscapeDataString($PWD.Path)
0 commit comments