mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-01-23 06:08:36 +01:00
Improved my-profile.ps1
This commit is contained in:
parent
b24f7f9b5e
commit
d01aa17c1f
@ -9,7 +9,8 @@
|
||||
if ($IsLinux) { $Username = $(whoami) } else { $Username = $env:USERNAME }
|
||||
$Hostname = $(hostname)
|
||||
$host.ui.RawUI.WindowTitle = "$Username @ $Hostname"
|
||||
"Welcome 🧑$Username at 📂$(Get-Location) on 💻$Hostname "
|
||||
$Time = (get-date).ToString('t')
|
||||
"Welcome 🧑$Username at 📂$(Get-Location) on 💻$Hostname, it's $Time"
|
||||
|
||||
|
||||
# My Command Prompt
|
||||
|
Loading…
Reference in New Issue
Block a user