mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-08 17:14:28 +01:00
Improve my-profile.ps1
This commit is contained in:
parent
96ff3574c2
commit
be825c1787
@ -10,7 +10,7 @@ if ($IsLinux) { $Username = $(whoami) } else { $Username = $env:USERNAME }
|
||||
$Hostname = $(hostname)
|
||||
$host.ui.RawUI.WindowTitle = "$Username @ $Hostname"
|
||||
$Time = (get-date).ToString('t')
|
||||
"Hi 🧑$Username, welcome to 💻$Hostname at 📂$(Get-Location), it's $Time"
|
||||
"🧑$Username entered 📂$(Get-Location) at 💻$Hostname, it's $Time"
|
||||
|
||||
|
||||
# My Command Prompt
|
||||
|
Loading…
Reference in New Issue
Block a user