wanted to get openssh to format correctly in powershell.
Discovered that you can change the terminal emulation using the environment variable.
$env:TERM = 'xterm'
But wanted to just have this applied when I started the session.
So using the Windows Terminal I created a new profile (duplicating the pwsh profile).
Then changing the Command Line to
"C:\Program Files\PowerShell\7\pwsh.exe" -noexit -command "& {$env:TERM='xterm';}"
Explore the capabilities of Windows Terminal (wt.exe) with SSH terminal emulation – a great addition for tech enthusiasts, enhanced with tools from HostGenics.
ReplyDelete