mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-30 03:43:50 +01:00
Update my-profile.ps1
This commit is contained in:
parent
5746609a35
commit
c955685fa4
@ -6,10 +6,9 @@
|
||||
|
||||
# My Welcome Message
|
||||
# ------------------
|
||||
"Welcome to PowerShell at $(hostname)'s 📂$(get-location)"
|
||||
if ($IsLinux) { $Username = $(whoami) } else { $Username = $env:USERNAME }
|
||||
$Time = (get-date).ToString('t')
|
||||
$host.ui.RawUI.WindowTitle = "$Username @ $(hostname)"
|
||||
"Welcome to PowerShell on 💻$(hostname) at 📂$(get-location)"
|
||||
|
||||
|
||||
# My Command Prompt
|
||||
|
Loading…
Reference in New Issue
Block a user