Add the /nologo
option to supress the version and use my custom welcome message:
"C:\Program Files\PowerShell\7\pwsh.exe" /nologo
write-host " Windows 11 Home" | |
write-host " PowerShell $($PSVersionTable.PSVersion)" | |
write-host | |
Import-Module -Name Terminal-Icons | |
oh-my-posh init pwsh --config ~/.mytheme.omp.json | Invoke-Expression |