mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-09 21:07:40 +02:00
Updated cd-repo.ps1 and cd-repos.ps1
This commit is contained in:
@ -31,8 +31,8 @@ try {
|
||||
$path = "/Repositories"
|
||||
} elseif (Test-Path "/repositories" -pathType Container) {
|
||||
$path = "/repositories"
|
||||
} elseif (Test-Path "~/source/repos/" -pathType Container) { # try Visual Studio default
|
||||
$path = "~/source/repos/"
|
||||
} elseif (Test-Path "~/source/repos" -pathType Container) { # try Visual Studio default
|
||||
$path = "~/source/repos"
|
||||
} else {
|
||||
throw "No Git repositories folder in your home directory or in the root folder yet"
|
||||
}
|
||||
|
Reference in New Issue
Block a user