From fb0c4e87830050d7249341914f8f8477d9b30abb Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 16 Sep 2024 19:56:50 +0200 Subject: [PATCH] Updated my-profile.ps1 --- scripts/my-profile.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/my-profile.ps1 b/scripts/my-profile.ps1 index 4e7c301f..349aed81 100755 --- a/scripts/my-profile.ps1 +++ b/scripts/my-profile.ps1 @@ -1,16 +1,16 @@ -# MY POWERSHELL PROFILE (defines the look & feel of PowerShell) +# MY POWERSHELL PROFILE - it defines the look & feel of PowerShell. # WINDOW TITLE if ($IsLinux) { $username = $(whoami) } else { $username = $env:USERNAME } $host.ui.RawUI.WindowTitle = "$username @ $(hostname)" # GREETING -Write-Host "👋 Hi $username @ $(hostname) - type 'hlp' for help." -foregroundColor green +Write-Host "👋 Welcome $username to $(hostname) - type 'hlp' for help." -foregroundColor green -# COMMAND PROMPT +# PROMPT function prompt { Write-Host "`n➤ " -noNewline -foregroundColor yellow; return " " } -# ALIAS NAMES +# ALIASES del alias:pwd -force -errorAction SilentlyContinue set-alias -name hlp -value write-help.ps1 set-alias -name pwd -value list-workdir.ps1 # pwd = print working directory