Improved some cd-*.ps1 scripts

This commit is contained in:
Markus Fleschutz
2025-04-23 13:22:05 +02:00
parent 257c2c3d82
commit c35fcd8ea0
8 changed files with 39 additions and 25 deletions

View File

@ -15,7 +15,7 @@
try {
if ($IsLinux -or $IsMacOS) {
if (-not(Test-Path "~/Downloads" -pathType container)) {
throw "No downloads folder at ~/Downloads yet"
throw "No 📂Downloads folder in your home directory yet"
}
$path = Resolve-Path "~/Downloads"
} else {