add bundled vim to path

This commit is contained in:
Alec Wenzowski 2015-11-11 23:28:04 -05:00
parent ffd61db30e
commit b018f2cc50

6
vendor/profile.ps1 vendored
View File

@ -16,6 +16,12 @@ if( -not $env:PSModulePath.Contains($CmderModulePath) ){
$env:PSModulePath = $env:PSModulePath.Insert(0, "$CmderModulePath;")
}
try {
Get-command -Name "vim" -ErrorAction Stop >$null
} catch {
$env:Path += ";$env:CMDER_ROOT\vendor\msysgit\share\vim\vim74"
}
try {
# Check if git is on PATH, i.e. Git already installed on system
Get-command -Name "git" -ErrorAction Stop >$null