Skip to content

Commit 101d09b

Browse files
authored
fix for terrible background color for default "ls" output on pwsh (#3119)
1 parent 0ee1224 commit 101d09b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkg/util/shellutil/shellintegration/pwsh_wavepwsh.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ if ($PSVersionTable.PSVersion.Major -lt 7) {
1616
return # skip OSC setup entirely
1717
}
1818

19+
if ($PSStyle.FileInfo.Directory -eq "`e[44;1m") {
20+
$PSStyle.FileInfo.Directory = "`e[34;1m"
21+
}
22+
1923
$Global:_WAVETERM_SI_FIRSTPROMPT = $true
2024
2125
# shell integration

0 commit comments

Comments
 (0)