diff --git a/Scripts/my-profile.ps1 b/Scripts/my-profile.ps1 index d2c8fc74..812355b7 100755 --- a/Scripts/my-profile.ps1 +++ b/Scripts/my-profile.ps1 @@ -1,22 +1,15 @@ -# My PowerShell Profile -# ===================== -# This profile file defines the look & feel of PowerShell. +# MY POWERSHELL PROFILE (this profile file defines the look & feel of PowerShell) -# Window Title -# ------------ +# WINDOW TITLE if ($IsLinux) { $Username = $(whoami) } else { $Username = $env:USERNAME } $host.ui.RawUI.WindowTitle = "$Username @ $(hostname)" - -# Command Prompt -# -------------- +# COMMAND PROMPT function prompt { write-host -noNewline -foregroundColor yellow "`n➤"; return " " } - -# Alias Names -# ----------- +# ALIAS NAMES del alias:pwd -force -errorAction SilentlyContinue set-alias -name pwd -value list-workdir.ps1 # pwd = print working directory -set-alias -name ll -value get-childitem # ll = list long -del alias:ls -force -errorAction SilentlyContinue -set-alias -name ls -value list-folder.ps1 +set-alias -name ll -value get-childitem # ll = list folder (long format) +del alias:ls -force -errorAction SilentlyContinue +set-alias -name ls -value list-folder.ps1 # ls = list folder (short format)