diff --git a/Microsoft.PowerShell_profile.ps1 b/Microsoft.PowerShell_profile.ps1 index 28a4372..e5c0b5a 100644 --- a/Microsoft.PowerShell_profile.ps1 +++ b/Microsoft.PowerShell_profile.ps1 @@ -47,10 +47,11 @@ Version: 3.1.11 - July 2024 | Created Update-PSProfile Function, Script Refactor Version: 3.1.12 - July 2024 | YAML Release Pipeline for Profile Versioning, Added Profile Update Checker version: 3.1.12.1 - July 2024 | Minor Script Fixes, From Development to Production Repository version: 3.1.12.2 - July 2024 | Minor Script Fixes, From Development to Production Repository +version: 3.1.12.3 - July 2024 | Minor Script Fixes, From Development to Production Repository #> # Oh My Posh Profile Version -$profileVersion = '3.1.12.2' +$profileVersion = '3.1.12.3-dev' # GitHub Repository Details $gitRepositoryUrl = "https://api.github.com/repos/smoonlee/oh-my-posh-profile/releases" @@ -78,7 +79,7 @@ if ($profileVersion -ne $newProfileReleaseTag) { } # Load Oh My Posh Application -oh-my-posh init powershell --config "$Env:LOCALAPPDATA\Programs\oh-my-posh\themes\themeNameHere" | Invoke-Expression +oh-my-posh init powershell --config "$env:POSH_THEMES_PATH\themeNameHere" | Invoke-Expression # Local Oh-My-Posh Configuration $env:POSH_AZURE_ENABLED = $true @@ -235,7 +236,7 @@ function Get-PSProfileUpdate { ) # Get Current Pwsh Theme - $pwshThemeName = Split-Path $Env:POSH_THEME -Leaf + $pwshThemeName = Split-Path $env:POSH_THEME -Leaf Write-Output "Updating PowerShell Profile..." `r Write-Output "Current Profile Version: $profileVersion"