From ba13a3d4b59e1c4bacf8099c01bd89b409d8121e Mon Sep 17 00:00:00 2001 From: LCD 47 Date: Sat, 6 Apr 2013 21:58:38 +0300 Subject: [PATCH] Fix shell pipe hack. --- plugin/syntastic.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/syntastic.vim b/plugin/syntastic.vim index 0d76d54f..780977b5 100644 --- a/plugin/syntastic.vim +++ b/plugin/syntastic.vim @@ -344,7 +344,7 @@ endfunction "the script changes &shellpipe and &shell to stop the screen flicking when "shelling out to syntax checkers. Not all OSs support the hacks though function! s:OSSupportsShellpipeHack() - return !s:running_windows && (s:uname() !~ "FreeBSD") && (s:uname() !~ "OpenBSD") + return !s:running_windows && executable('/bin/bash') && (s:uname() !~ "FreeBSD") && (s:uname() !~ "OpenBSD") endfunction function! s:IsRedrawRequiredAfterMake()