mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-09 05:04:39 +02:00
Improved my-profile.ps1
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user