Use /bin/sh as default shell.

- /bin/bash is not part of OpenBSD.
- We need only a POSIX shell, not bash specifically.

Closes #340.
This commit is contained in:
Xavier Guérin
2016-05-20 11:13:45 +01:00
committed by Andy Stewart
parent 90c558b1dc
commit 377c71d982
2 changed files with 3 additions and 3 deletions

View File

@@ -186,7 +186,7 @@ function! gitgutter#utility#use_known_shell() abort
if has('unix')
let s:shell = &shell
let s:shellcmdflag = &shellcmdflag
set shell=/bin/bash
set shell=/bin/sh
set shellcmdflag=-c
endif
endfunction