Skip to content

Commit

Permalink
posh git
Browse files Browse the repository at this point in the history
  • Loading branch information
amirrezaask committed Feb 6, 2025
1 parent 08581e8 commit d9e3916
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions shell/pwsh/pwsh.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

0 comments on commit d9e3916

Please sign in to comment.