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