mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-09-19 21:17:31 -07:00
parent
dcc2080047
commit
d796ff166e
|
@ -19,6 +19,9 @@ function Get-CachePath {
|
||||||
}
|
}
|
||||||
|
|
||||||
function Set-PoshRootPath {
|
function Set-PoshRootPath {
|
||||||
|
if ($env:POSH_PATH) {
|
||||||
|
return
|
||||||
|
}
|
||||||
$path = Get-CachePath -Path $env:LOCALAPPDATA
|
$path = Get-CachePath -Path $env:LOCALAPPDATA
|
||||||
if ($path) {
|
if ($path) {
|
||||||
$env:POSH_PATH = $path
|
$env:POSH_PATH = $path
|
||||||
|
|
Loading…
Reference in a new issue