2
0
mirror of https://github.com/cmderdev/cmder.git synced 2025-05-03 23:04:45 +08:00

Improve warning text when posh-git is missing.

This commit is contained in:
Martin Kemp 2015-05-17 22:13:23 +01:00
parent 83a853bd52
commit a18320c938

2
vendor/profile.ps1 vendored

@ -10,7 +10,7 @@ try {
Import-Module -Name "posh-git" -ErrorAction Stop >$null Import-Module -Name "posh-git" -ErrorAction Stop >$null
$gitStatus = $true $gitStatus = $true
} catch { } catch {
Write-Warning "Missing git support" Write-Warning "Missing git support, install posh-git with 'Install-Module posh-git' and restart cmder."
$gitStatus = $false $gitStatus = $false
} }