Enable configuration of path to sh (default /bin/sh).

See #360.
This commit is contained in:
Andy Stewart
2016-09-16 14:22:13 +01:00
parent 373ad7337b
commit 402257f920
3 changed files with 4 additions and 3 deletions

View File

@@ -187,7 +187,7 @@ function! gitgutter#utility#use_known_shell() abort
let s:shell = &shell
let s:shellcmdflag = &shellcmdflag
let s:shellredir = &shellredir
set shell=/bin/sh
let &shell = g:gitgutter_sh
set shellcmdflag=-c
set shellredir=>%s\ 2>&1
endif