mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-02-02 05:41:10 -08:00
parent
82c8efe0ed
commit
dc6548572f
|
@ -37,7 +37,7 @@ function Set-PoshPrompt {
|
|||
$global:PoshSettings.Theme = "$PSScriptRoot/themes/$Theme.json"
|
||||
}
|
||||
elseif (Test-Path $Theme) {
|
||||
$global:PoshSettings.Theme = $Theme
|
||||
$global:PoshSettings.Theme = Resolve-Path -Path $Theme
|
||||
}
|
||||
else {
|
||||
$global:PoshSettings.Theme = "$PSScriptRoot/themes/jandedobbeleer.json"
|
||||
|
|
Loading…
Reference in a new issue