mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-12 06:02:56 +02:00
Improved some cd-*.ps1 scripts
This commit is contained in:
@ -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 {
|
||||
|
Reference in New Issue
Block a user