Improved my-profile.ps1

This commit is contained in:
Markus Fleschutz 2024-09-03 12:37:30 +02:00
parent 423b7fe2ba
commit fc3df9c907

View File

@ -5,7 +5,7 @@ if ($IsLinux) { $username = $(whoami) } else { $username = $env:USERNAME }
$host.ui.RawUI.WindowTitle = "$username @ $(hostname)"
# GREETING
Write-Host "👋 Welcome $username to $(hostname)'s PowerShell - type 'hlp' for help." -foregroundColor green
Write-Host "👋 Welcome $username @ $(hostname) - type 'hlp' for help." -foregroundColor green
# COMMAND PROMPT
function prompt { Write-Host "`n" -noNewline -foregroundColor yellow; return " " }