sudo dnf install powershell.rpmpwsh and run commandWrite-Host test -ForegroundColor RedWrite-Verbose test -VerboseColored text
No colors
Fedora 28
KDE Plasma 5.13 (plasmashell 5.13.3)
Kernel 4.17.12-200.fc28.x86_64
PowerSshell powershell-6.0.4-1.rhel.7.x86_64
What terminal do you use?
This is a configuration issue - not bug.
You can fix it by changing environment variable TERM from __xterm-256color__ to __xterm__
A few options how to do it:
TERM=xterm pwsh$env:TERM = 'xterm' to your PowerShell profile~/.bashrc and add alias pwsh="TERM='xterm' pwsh"alias pwsh="TERM='xterm' pwsh -NoLogo"
Most helpful comment
This is a configuration issue - not bug.
You can fix it by changing environment variable TERM from __xterm-256color__ to __xterm__
A few options how to do it:
TERM=xterm pwsh$env:TERM = 'xterm'to your PowerShell profile~/.bashrcand addalias pwsh="TERM='xterm' pwsh"alias pwsh="TERM='xterm' pwsh -NoLogo":-)