mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-09 13:04:59 +02:00
Updated the cd-*.ps1 scripts
This commit is contained in:
@ -14,7 +14,9 @@
|
||||
|
||||
try {
|
||||
$path = Resolve-Path "~/Dropbox"
|
||||
if (-not(Test-Path "$path" -pathType container)) { throw "No Dropbox folder at 📂$path - is Dropbox installed?" }
|
||||
if (-not(Test-Path "$path" -pathType container)) {
|
||||
throw "No Dropbox folder at 📂$path - is Dropbox installed?"
|
||||
}
|
||||
Set-Location "$path"
|
||||
"📂$path"
|
||||
exit 0 # success
|
||||
|
Reference in New Issue
Block a user