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])"