mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-04-25 03:18:16 +02: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)
|
$Hostname = $(hostname)
|
||||||
$host.ui.RawUI.WindowTitle = "$Username @ $Hostname"
|
$host.ui.RawUI.WindowTitle = "$Username @ $Hostname"
|
||||||
$Time = (get-date).ToString('t')
|
$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
|
# My Command Prompt
|
||||||
|
Loading…
Reference in New Issue
Block a user