1
0
mirror of https://github.com/fleschutz/PowerShell.git synced 2025-07-04 22:50:05 +02:00

Improve my-profile.ps1

This commit is contained in:
Markus Fleschutz
2021-04-22 17:40:04 +02:00
parent 8afe073e7e
commit b24f7f9b5e

@ -9,7 +9,7 @@
if ($IsLinux) { $Username = $(whoami) } else { $Username = $env:USERNAME } if ($IsLinux) { $Username = $(whoami) } else { $Username = $env:USERNAME }
$Hostname = $(hostname) $Hostname = $(hostname)
$host.ui.RawUI.WindowTitle = "$Username @ $Hostname" $host.ui.RawUI.WindowTitle = "$Username @ $Hostname"
"🧑$Username entered 💻$Hostname at 📂$(Get-Location)" "Welcome 🧑$Username at 📂$(Get-Location) on 💻$Hostname "
# My Command Prompt # My Command Prompt