We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 87c4c63 + c9766c4 commit 59dde09Copy full SHA for 59dde09
Microsoft.PowerShell_profile.ps1
@@ -608,7 +608,11 @@ $scriptblock = {
608
}
609
Register-ArgumentCompleter -Native -CommandName dotnet -ScriptBlock $scriptblock
610
611
-oh-my-posh init pwsh --config https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/cobalt2.omp.json | Invoke-Expression
+if (Get-Command -Name "Get-Theme_Override" -ErrorAction SilentlyContinue){
612
+ Get-Theme_Override;
613
+} else {
614
+ oh-my-posh init pwsh --config https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/cobalt2.omp.json | Invoke-Expression
615
+}
616
617
if (Get-Command zoxide -ErrorAction SilentlyContinue) {
618
Invoke-Expression (& { (zoxide init --cmd z powershell | Out-String) })
0 commit comments