mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-23 08:23:14 +01:00
Update cd-templates.ps1
This commit is contained in:
parent
7213c99d05
commit
06655b3d1d
@ -16,7 +16,7 @@ try {
|
|||||||
if ($IsLinux) {
|
if ($IsLinux) {
|
||||||
$Path = Resolve-Path "~/Templates"
|
$Path = Resolve-Path "~/Templates"
|
||||||
} else {
|
} else {
|
||||||
$Path = [Environment]::GetFolderPath('CommonTemplates')
|
$Path = [Environment]::GetFolderPath('Templates')
|
||||||
}
|
}
|
||||||
if (Test-Path "$Path" -pathType container) {
|
if (Test-Path "$Path" -pathType container) {
|
||||||
Set-Location "$Path"
|
Set-Location "$Path"
|
||||||
|
Loading…
Reference in New Issue
Block a user