Skip to content

Commit 135ec24

Browse files
fix(pwsh): quit init when already initialized
1 parent 3aeea77 commit 135ec24

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/shell/scripts/omp.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
if ($null -ne (Get-Module -Name "oh-my-posh-core")) {
2-
Remove-Module -Name "oh-my-posh-core" -Force
2+
return
33
}
44

55
$env:VIRTUAL_ENV_DISABLE_PROMPT = 1

0 commit comments

Comments
 (0)