diff --git a/shell/pwsh/pwsh.ps1 b/shell/pwsh/pwsh.ps1 index 1348a093..d29ff1df 100644 --- a/shell/pwsh/pwsh.ps1 +++ b/shell/pwsh/pwsh.ps1 @@ -18,3 +18,9 @@ if (Get-Command oh-my-posh -ErrorAction SilentlyContinue) { # oh-my-posh init pwsh --config "$env:POSH_THEMES_PATH/amro.omp.json" | Invoke-Expression oh-my-posh init pwsh --config "$env:POSH_THEMES_PATH/craver.omp.json" | Invoke-Expression } + +if (Get-Module posh-git) { + Import-Module posh-git +} else { + Write-Host "Install posh-git module for git" +}