mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-09 20:44:03 -08: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