From 467332f0fe55f95da7c5421cb919d28ded32ed16 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 7 Nov 2024 14:39:30 +0100 Subject: [PATCH] Updated my-profile.ps1 --- scripts/my-profile.ps1 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/my-profile.ps1 b/scripts/my-profile.ps1 index a63e6d69..e05e2c58 100755 --- a/scripts/my-profile.ps1 +++ b/scripts/my-profile.ps1 @@ -11,9 +11,10 @@ Write-Host "šŸ‘‹ Welcome $username to $(hostname)'s PowerShell - type 'hlp' if y function prompt { Write-Host "`nāž¤ " -noNewline -foregroundColor yellow; return " " } # ALIASES -del alias:pwd -force -errorAction SilentlyContinue +set-alias -name enter -value enter-host.ps1 set-alias -name hlp -value write-help.ps1 -set-alias -name pwd -value list-workdir.ps1 # pwd = print working directory -set-alias -name ll -value get-childitem # ll = list folder (long format) +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) +del alias:pwd -force -errorAction SilentlyContinue +set-alias -name pwd -value list-workdir.ps1 # pwd = print working directory