mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-07-08 00:16:49 +02:00
Update my-profile.ps1
This commit is contained in:
@ -9,7 +9,7 @@
|
|||||||
if ($IsLinux) { $Username = $(whoami) } else { $Username = $env:USERNAME }
|
if ($IsLinux) { $Username = $(whoami) } else { $Username = $env:USERNAME }
|
||||||
$Time = (get-date).ToString('t')
|
$Time = (get-date).ToString('t')
|
||||||
$host.ui.RawUI.WindowTitle = "$Username @ $(hostname)"
|
$host.ui.RawUI.WindowTitle = "$Username @ $(hostname)"
|
||||||
"Welcome to PowerShell at 📂$(get-location) on 💻$(hostname), it's $Time"
|
"Welcome to PowerShell on 💻$(hostname) at 📂$(get-location)"
|
||||||
|
|
||||||
|
|
||||||
# My Command Prompt
|
# My Command Prompt
|
||||||
|
Reference in New Issue
Block a user