mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-28 04:19:41 -08:00
parent
ca3b9ef955
commit
f865f92633
|
@ -11,7 +11,7 @@ function Get-CachePath {
|
||||||
}
|
}
|
||||||
$child = "oh-my-posh"
|
$child = "oh-my-posh"
|
||||||
$cachePath = Join-Path -Path $Path -ChildPath $child
|
$cachePath = Join-Path -Path $Path -ChildPath $child
|
||||||
if (Test-Path -Path $Path) {
|
if (Test-Path -Path $cachePath) {
|
||||||
return $cachePath
|
return $cachePath
|
||||||
}
|
}
|
||||||
New-Item -Path $Path -Name $child -ItemType "directory"
|
New-Item -Path $Path -Name $child -ItemType "directory"
|
||||||
|
|
Loading…
Reference in a new issue