From b24233e4b75ee5d45f59362adf3aff97c8b596d5 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 29 May 2025 09:48:14 +0200 Subject: [PATCH] Updated cd-home.ps1 --- scripts/cd-home.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/cd-home.ps1 b/scripts/cd-home.ps1 index 40063493..0b5d6f22 100755 --- a/scripts/cd-home.ps1 +++ b/scripts/cd-home.ps1 @@ -5,7 +5,7 @@ This PowerShell script changes the working directory to the user's home directory. .EXAMPLE PS> ./cd-home.ps1 - 📂C:\Users\Markus entered (has 4 files and 7 folders) + 📂C:\Users\Markus with 4 files and 7 folders entered. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -18,7 +18,7 @@ try { Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory $folders = Get-ChildItem $path -attributes Directory - "📂$path entered (has $($files.Count) files and $($folders.Count) folders)" + "📂$path with $($files.Count) files and $($folders.Count) folders entered." exit 0 # success } catch { "⚠️ Error: $($Error[0])"