gmarik/vundle — Issue #105: Advanced Windows Git configuration
Author: gmarik
Created: 2011-11-05 06:38:24+00:00
State: open
Labels: docs, MsWin

Moving this from my inbox so it doesn't get lost

```
" Windows specific {
if has('win32') || has ('win64')
" Adds git runtime path so it is able to use Fugitive within and Bundle GVIM,
" while using the "git bash only" option when installing git for windows

" uses standard git install directories
let gitdir='C:\Program Files (x86)\Git\bin'
let gitdiralt='C:\Program Files\Git\bin'

if isdirectory(gitdir)
let $PATH.=';' .gitdir
elseif isdirectory(gitdiralt)
let $PATH.=';' . gitdiralt
endif

endif
" }
```
Thanks @aalvarado